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

2009-01-04 Thread WebbedIT
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

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

2009-01-04 Thread WebbedIT
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

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

2009-01-03 Thread WebbedIT
That looks like an unusual array dump to me. Multiple radio button fields with the same name should result in a single variable being passed back to the controller. Can you even build an array with multiple instances of the same key-value pairing as shown above? My guess would be that IF you

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

2009-01-03 Thread Drinkspiller
Can you show us the HTML code for the form including the radio buttons and the hidden field you mention, and also could you supply the PHP you are using to create the form? Can you show us the HTML code for the form including the radio buttons and the hidden field you mention, and also

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

2009-01-03 Thread Drinkspiller
Can you show us the HTML code for the form including the radio buttons and the hidden field you mention, and also could you supply the PHP you are using to create the form? Can you show us the HTML code for the form including the radio buttons and the hidden field you mention, and also

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

2009-01-03 Thread WebbedIT
The resulting HTML output is this: form method=post action=http://www.mydomain.com/underwear/undies/ add         fieldset style=display:none;         input type=hidden name=_method value=POST /         /fieldset     table class=undietypes         tr                 td                

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

2009-01-03 Thread Drinkspiller
WebbedIt: 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? Cheers! On Jan 3, 11:01 am, WebbedIT p...@webbedit.co.uk wrote: The resulting HTML output is this: form method=post

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

2009-01-02 Thread Drinkspiller
I am rendering a series of radio buttons using $form-input. Validation in the model specifies 'numeric' for the field. Even whena radio button is selected, this displays after submit:'This field cannot be left blank' (note: the message does not say 'must be numeric', it says blank, suggesting no