halbj Posted February 27, 2003 Posted February 27, 2003 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.
Addam Posted February 28, 2003 Posted February 28, 2003 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~
halbj Posted February 28, 2003 Author Posted February 28, 2003 ...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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now