close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search Using Radio Buttons

Thread began 3/14/2010 6:21 pm by Lee Firth | Last modified 3/30/2010 3:34 pm by Lee Firth | 1737 views | 4 replies |

Lee Firth

Search Using Radio Buttons

I'm have trouble working out how to use radio buttons with the Search SB.

Basically I have a form with three radio buttons named "status", one labeled "Used" one labeled "Not Used" and one labeled "All". All three of these will check the one database field, "fldInvNum". If the user selects "Used" it checks for a null value, if the user selects "Not Used" it checks the same field for not null and if the user selects "All" then it returns all records.

When adding the parameters to the Search SB, under filter type, there doesn't seem to be an option for a radio button.

Sign in to reply to this post

Jimmy Wu

There is no radio button option in the search server behavior. In this case, I would recommend using two checkboxes instead of the radio buttons. The two checkboxes would be one for used and one for not used. You would then select check as the type and set the checked value for each of the checkboxes separately.

Sign in to reply to this post

Lee Firth

Nearly Works

Thanks for the reply Jimmy.

This almost works, I have added two checkboxes one named "used" and one named "not_used" and if you select one or the other you get the disired results. The problem is if you select both. I would want this to then display all records but it doesn't display any records.

Sign in to reply to this post

Jimmy Wu

Did you set values for checked and unchecked for each or did you leave the unchecked blank?

Sign in to reply to this post

Lee Firth

I wasn't aware you could set a value for "unchecked" using a checkbox. Anyway the checked values are set to "Used" and "Not" respectively.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...