MooTools/js Formatting questions

hr_design 18 Jun, 2009
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?
Max_admin 22 Jun, 2009
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Matt 23 Jun, 2009

#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
Vollover 09 May, 2011

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
GreyHead 09 May, 2011
Hi Vollover,

Thank you - I think it's working again now.

I updated AceSEF this afternoon and that seems to have created some hiccups in the system :-(

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger