Drop down menu problem

T

Tom

I have what I consider to be a strange problem. I have
created a form using FrontPage 2003. The form contains a
various combination of text and drop down fields. I have
two drop down boxes that are "tied" together in that the
second one feeds off of the first. Therefore depending
on what the user selects in the first drop down, is what
will be available in the second drop down box. I can
publish may webpage up to our intranet and open it and
everything works just fine in the two drop down boxes.
However if I change one of the text fields by requiring
it to be validated in anyway, such as a required field or
change the data type to something other than no
constraints, the drop down menus will not work on the
webpage. The drop downs do work properly on the webpage
preview in FrontPage. I have compared the HTML code in
both Frontpage and on the webpage and do not see any
differences. Can anyone tell me why these menus would
not work when a text field must be validated? Thank you.
 
S

Stefan B Rusynko

When you apply validation, FP renames the form and add JavaScript to the page and field
- if your dropdown relies on a custom script w/ a form name or field event, it is probably being deleted or not working because of
the form name changes




| I have what I consider to be a strange problem. I have
| created a form using FrontPage 2003. The form contains a
| various combination of text and drop down fields. I have
| two drop down boxes that are "tied" together in that the
| second one feeds off of the first. Therefore depending
| on what the user selects in the first drop down, is what
| will be available in the second drop down box. I can
| publish may webpage up to our intranet and open it and
| everything works just fine in the two drop down boxes.
| However if I change one of the text fields by requiring
| it to be validated in anyway, such as a required field or
| change the data type to something other than no
| constraints, the drop down menus will not work on the
| webpage. The drop downs do work properly on the webpage
| preview in FrontPage. I have compared the HTML code in
| both Frontpage and on the webpage and do not see any
| differences. Can anyone tell me why these menus would
| not work when a text field must be validated? Thank you.
 
T

Tom

Any idea how best to prevent this from happening?
-----Original Message-----
When you apply validation, FP renames the form and add
JavaScript to the page and field
- if your dropdown relies on a custom script w/ a form
name or field event, it is probably being deleted or not
working because of
 
S

Stefan B Rusynko

Don't use FP validation w/ your own scripts
- look at the validation JavaScript FP creates in View Source in a Browser, and write your own validation script




| Any idea how best to prevent this from happening?
| >-----Original Message-----
| >When you apply validation, FP renames the form and add
| JavaScript to the page and field
| >- if your dropdown relies on a custom script w/ a form
| name or field event, it is probably being deleted or not
| working because of
| >the form name changes
| >
| >--
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP -
| FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-
| ;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >_____________________________________________
| >
| >
| | >| I have what I consider to be a strange problem. I have
| >| created a form using FrontPage 2003. The form
| contains a
| >| various combination of text and drop down fields. I
| have
| >| two drop down boxes that are "tied" together in that
| the
| >| second one feeds off of the first. Therefore depending
| >| on what the user selects in the first drop down, is
| what
| >| will be available in the second drop down box. I can
| >| publish may webpage up to our intranet and open it and
| >| everything works just fine in the two drop down boxes.
| >| However if I change one of the text fields by requiring
| >| it to be validated in anyway, such as a required field
| or
| >| change the data type to something other than no
| >| constraints, the drop down menus will not work on the
| >| webpage. The drop downs do work properly on the
| webpage
| >| preview in FrontPage. I have compared the HTML code in
| >| both Frontpage and on the webpage and do not see any
| >| differences. Can anyone tell me why these menus would
| >| not work when a text field must be validated? Thank
| you.
| >
| >
| >.
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top