I have three mootools/javascript questions...
here is the link to my form: http://vostn.com/index.php?option=com_chronocontact&chronoformname=refill_request
1. Is there a way to format the validation pop-up text (message that shows if a required field is blank, etc)? It currently begins at the end of the input field and then breaks and finishes below the line--and pushes other elements around. Is there any way to fix this formatting issue?
2. I need for users to be able to delete the date in the DatePicker input field at the bottom of the form (after a date has already been chosen). I believe that I use "allowEmpty" but I'm not sure where and what file to put it in. Is that correct? If not, does anyone know how to do this?
3. After clicking "Submit" if there are errors on the page, the page doesn't refresh back to the top so you can see the error messages, it just hangs out showing the bottom of the form...I need to fix this so people know that they need to enter more information. Is there any way to make the page refresh to show the top of the form?
here is the link to my form: http://vostn.com/index.php?option=com_chronocontact&chronoformname=refill_request
1. Is there a way to format the validation pop-up text (message that shows if a required field is blank, etc)? It currently begins at the end of the input field and then breaks and finishes below the line--and pushes other elements around. Is there any way to fix this formatting issue?
2. I need for users to be able to delete the date in the DatePicker input field at the bottom of the form (after a date has already been chosen). I believe that I use "allowEmpty" but I'm not sure where and what file to put it in. Is that correct? If not, does anyone know how to do this?
3. After clicking "Submit" if there are errors on the page, the page doesn't refresh back to the top so you can see the error messages, it just hangs out showing the bottom of the form...I need to fix this so people know that they need to enter more information. Is there any way to make the page refresh to show the top of the form?
Hi,
#1- I will add an option to show the error messages in a popup!
#2- whats the "allowEmpty" ?? is it a Calendar option ? I don't know them all but will check them too!
#3- you may use the domready event to focus on some element at the top of the form, add the even code in the JS code box! I have answered this before with code in a similar 3 questions post!
Cheers,
Max
#1- I will add an option to show the error messages in a popup!
#2- whats the "allowEmpty" ?? is it a Calendar option ? I don't know them all but will check them too!
#3- you may use the domready event to focus on some element at the top of the form, add the even code in the JS code box! I have answered this before with code in a similar 3 questions post!
Cheers,
Max
#1- I will add an option to show the error messages in a popup!
to #1: highly appreciated!!!
There are nasty line breaks in the messages...
Matt
you may use the domready event to focus on some element at the top of the form, add the even code in the JS code box! I have answered this before with code in a similar 3 questions post!
Hi Max,and hr_design,
I cannot find the solution. Do you remember where was it?
Thanks in advance,
Vollover
Hy GreyHead,
I really appreciate your time but something wrong with the link. It shows a 404 error page.
We found something similar here:
http://www.chronoengine.com/forums.html?cont=posts&f=5&t=13956&start=0&hilit=domready+event
and I am checking this too:
http://greyhead.net/how-to-docs/categories
it would be perfect to focus first wrong or missed field.
Vollover
I really appreciate your time but something wrong with the link. It shows a 404 error page.
We found something similar here:
http://www.chronoengine.com/forums.html?cont=posts&f=5&t=13956&start=0&hilit=domready+event
and I am checking this too:
http://greyhead.net/how-to-docs/categories
it would be perfect to focus first wrong or missed field.
Vollover
This topic is locked and no more replies can be posted.