Using MAR I’m trying to pass the value of a radio button and checkbox (10 of each) but I’m not sure where to place the php variable. Each variable is represented in the db.
Partial:
<input type="radio" name="group1" value="Yes"> Yes
<input type="radio" name="group1" value="No"> No
<input type="checkbox" name="group4" value="Yippee"> Yippee
<input type="checkbox" name="group4" value="WhooHoo"> WhooHoo
For example, in the above code for the radio button “Yes”, no matter where I put the variable <?=h($yes1)?> in the above markup the value does not get passed.
Also, with regard to the controller, although I have working pickers:
$devices = array('Select...','Desktop/Laptop','iPad','iPhone','Android','Other (specify below)');
$device = $mar->device;
$mar->device_picker = SimpleListBox($devices,'device');
I’m not sure how to represent the radio and checkboxes in a similar fashion.
Finally, is tinyint() or Boolean the best Data Type for radio and checkboxes?
Todd
dynamo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options