Hi
I want to add a javascript function to validate whether the text field I have
in my menu contains something, In which of the milonic js files should I put the function?
David
validate field in menu form
Hi David,
I think you can put the function at the top of the menu data file just below the subOffset section. There is a demo for a form that uses an alert which I put on the index page, but I could have put it in the data file with the rest of the functions.
http://support.milonic.com/demos/select ... lected.htm
You can see the function on the page, but you could just as easily put it in the js file with the rest. This is the js file that does have a function in it for you to see.
http://support.milonic.com/demos/select ... elected.js
Hope this helps
Ruth
I think you can put the function at the top of the menu data file just below the subOffset section. There is a demo for a form that uses an alert which I put on the index page, but I could have put it in the data file with the rest of the functions.
http://support.milonic.com/demos/select ... lected.htm
You can see the function on the page, but you could just as easily put it in the js file with the rest. This is the js file that does have a function in it for you to see.
http://support.milonic.com/demos/select ... elected.js
Hope this helps
Ruth