I have used Dataassist to produce some forms from a database, but i need to combine some of these fields into radio groups. I understand that to create a radio group within dreamweaver I need to set the 'name' the same for all fields, but this causes issues with the preconfigured $POST code as it expects a specific name for each field and appears to treat radio groups as one field. How can I configure this so the following can work;
RadioGroup Radio Logic
RadioGroup1 - Button1 - If checked Pizza_field = "1" else = "0"
RadioGroup1 - Button2 - If checked Roast_field = "1" else = "0"
RadioGroup1 - Button3 - If checked BBQ_field = "1" else = "0"
RadioGroup1 - Button4 - If checked Not_Interested_field = "1" else = "0"
I'm sure that this must be very simple, but i've been staring at the code so long, i've gone cross eyed. I thought I could do it with something along the lines of...
Name = RadioGroup1, ID = Field1, Value = <? php Pizza_field = "1"?>;
Name = RadioGroup1, ID = Field2, Value = <? php Roast_field = "1"?>;
...and set the default in MYSQL to "0".
Any help gratefully received.