clipper Posted May 2, 2003 Posted May 2, 2003 With the help of Beverly Voth, from Moonbow Software I could finally draw two drop down conditional menus using javascript to call a source document wit the arrays previously created. Now I can see the "makes" and "models" in the search form with the other CDML search tags but when I submit the selected values FMP ignores the "makes and models" selected options. How can I point the selected values in the javascript menus to the correspondent field in the DB? Thank you
Garry Claridge Posted May 2, 2003 Posted May 2, 2003 Do you have the correct field names within the<select> tags; e.g.: <select name="make"> <option value="">Select Make</option> [FMP-ValueList....etc </select> <select name="model"> <option value="">Select Model</option> ...etc All the best. Garry
clipper Posted May 4, 2003 Author Posted May 4, 2003 Yes, I think so for the rest of CDML tags as they work correctly... but the javascript external menus doesn
Garry Claridge Posted May 4, 2003 Posted May 4, 2003 I notice that on the page listing the two select lists are named; "motor" and "clase". The Javascript listing calls them; "Marca" and "Modelo". You can change the names within the Javascript. All the best. Garry
clipper Posted May 5, 2003 Author Posted May 5, 2003 Well, actually you can't view the javascript menus code because they are created when the page is loaded. The "motor" and "clase" are complementary options in the search form and work fine... I send you the javascript embeded document. Put it in the first level of the web folder. The correspondent field in the database should be "modelo" or "texto final", it is indiferent.
Recommended Posts
This topic is 7943 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