Jump to content

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

Recommended Posts

Posted

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

MyForm.jpg

Posted

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

Posted

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

Posted

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.

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 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.