May 2, 200322 yr 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
May 2, 200322 yr 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
May 4, 200322 yr Author Yes, I think so for the rest of CDML tags as they work correctly... but the javascript external menus doesn
May 4, 200322 yr 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
May 5, 200322 yr Author 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.
Create an account or sign in to comment