Normal Topic Retrieve spec for Radio Button Box (Read 814 times)
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Retrieve spec for Radio Button Box
Sep 5th, 2009 at 3:18am
Print Post Print Post  
Hi -

I have a radio button box with 3 choices.  Is there any way to create a retrieve spec that will return only those records where one of the buttons has been checked?

Thanks!
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Retrieve spec for Radio Button Box
Reply #1 - Sep 5th, 2009 at 3:33pm
Print Post Print Post  
A lot of people have had success using a text element bound to the same field as the radio button group, making it visible as appropriate when in search mode. Others have used a simple bit of retrieve spec programming to check the value of the group from within a different text element.

Binding two elements to the same field is simply a matter of selecting that field from the drop down "Bind Element To" in the Layout Element Adder when creating the second element. Using retrieve spec programming is covered in the User Manual on page 249 (or so - depending on version). The syntax for retrieve spec programming is very similar as it was in Q&A.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged