Jump to content

This topic is 8009 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a search form with a drop menu that is picked up from my FileMaker DB. At the moment, the non-selection text is '- All -' and the value is "". This is also the default value - ie when the form is loaded the selection is '- All -'.

I would like to set the default value and text of the drop menu to one of the values in the list, but also allow the user the option of selecting '- All -' (with a value of "") if they don't want to accept the defualt.

is this possible?

Hal.

Posted

This isn't possible when your using a regular drop down list. You can always put use check boxes instead. OR you can keep the drop down list and put a check box next to it that has "All" as the selection and make them work together.

Hope this helps!

~Addam~

Posted

...Well yes you can - I have managed to acheive it by manually creating my value list in HTML

here is the code;

<select name="PrecGroups::Group">

<option value="">- All -</option>

<option value="CDR" selected="selected">CDR</option>

<option value="CFS">CFS</option>

<option value="CI">CI</option>

<option value="CY">CY</option>

<option value="Liquor">Liquor</option>

<option value="PS">PS</option>

<option value="Town Planning">Town Planning</option>

<option value="Transport">Transport</option>

</select>

Have a great day, Cheers Hal.

This topic is 8009 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.