Newbies Becky A Posted December 13, 2010 Newbies Posted December 13, 2010 In my Site Assistant generated "Add Record" and "Find Record" pages I have some radio button fields with two options, Yes and No. The database includes a value list called "YesNo". I defaulted these radio buttons on the database by auto-entering "No" or "Yes" but would also like to default them for people using the Web site. A radio button field on the Add Record page that I want to default to No is called "Disclaimer". Here is the PHP. Can someone tell me how to mark "No" as selected when it comes from a value list? <td class="field_data"><?php getInputChoices("radio", layout->getValueList('YesNo', $record->getRecordId()), $record->getField('Disclaimer', 0) , getFieldFormName('Disclaimer', 0, $record));?> </td> Thank you. Becky
Recommended Posts
This topic is 5361 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now