Jump to content

  •  

UPGRADE DEADLINE - SEPTEMBER 26, 2014!
FileMaker Inc. has a deadline for users of version 10,11, 12 as Individual box or volume licenses (with expired maintenance).
If you don't renew your maintenance and upgrade to FMP 13 you will no longer be eligible to upgrade, at the discount pricing.

Volume Licensing upgrade pricing for FileMaker Pro 13, FileMaker Pro 13 Advanced and FileMaker Server 13 will be discontinued.
Individual upgrade pricing for FileMaker Pro 13 and FileMaker Pro 13 Advanced will increase after September 26, 2014.
As of 27-September-2014, FileMaker 10 products will no longer be available for purchase or support.

http://help.filemaker.com/app/answers/detail/a_id/13865


Photo

Selected Radio Button From Value List


  • Please log in to reply
No replies to this topic

#1 Becky A  newbie

Becky A
  • Newbies
  • Pip
  • 1 posts
  • FM Application:11
  • Platform:Windows XP
  • Skill Level:Intermediate

Posted 13 December 2010 - 08:15 AM

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
  • 0




FMForum Advertisers