Sunday, January 4, 2009

Re: Radio button value null after post, but appears in post headers upon inspection

> When you submit this form does the selected radio button's valueshow
> up or does it arrive at validation and the SQL as null like it does
> for me?

Sorry for the delayed reply ... been playing a tennis match today,
good to be out in the cold but fresh air again!

Anyway, when I submit my form and echo a debug of the variable it
looks like the following ...

Array
(
[Person] => Array
(
[id] => 6247
[user_id] => 1
[title] =>
[first_name] => Paul
[middle_name] =>
[last_name] => Gardner
[dob] => Array
(
[month] => 01
[day] => 04
[year] => 2009
)
[organisation_id] => 1548
[organisation_position] =>
[ethnicity_id] => 789
[sexuality_id] => 780
[is_disabled] => 0
[disability_detail] =>
[religion_id] => 883
[gender_id] => 706
)
)

The field in question 'user_id' comes through as one key=>value entry
as I would expect.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: