In my form I have a password field and a verify password field. In order to have the verify password field check that the contents of the password and verify password fields are the same I have added
In my case I added a container and defined it as a Tab Area type. Inside, I dropped a few more containers and defined them as Tabs. This all works as expected and produces a nice, neat tabbed form.
Next, I dropped fields into each of my Tab containers and this works fine as well. I then added a password field and a verify password field into one of my Tab containers. At this point everything still worked. Finally, I added the
(As a potential workaround, I would love to just move to CFv5 for this form but I have developed a fairly extensive application with all input forms running modally. All of my CFv4 forms have been configured to automatically close on submit using a bit of Javascript. I have been unable to get CFv5 forms to behave this way and even have an unsolved topic on the forum about that issue which can be seen here http://www.chronoengine.com/forums/posts/f2/t97960/close-modal-window-on-submit.html. I can't have just one form out of dozens that does not behave like the others!)
Thanks in advance for any help!
John
validate['confirm:password']
to the class field of the verify password field. This works as expected until containers are added to the mix.
In my case I added a container and defined it as a Tab Area type. Inside, I dropped a few more containers and defined them as Tabs. This all works as expected and produces a nice, neat tabbed form.
Next, I dropped fields into each of my Tab containers and this works fine as well. I then added a password field and a verify password field into one of my Tab containers. At this point everything still worked. Finally, I added the
validate['confirm:password']
to the class field on the verify password field and the tab formatting broke. Tabs are scattered all over the form. Removing the validate['confirm:password']
from the class field immediately fixes the issue. This can be reproduced using Sliders as the type of container as well.
(As a potential workaround, I would love to just move to CFv5 for this form but I have developed a fairly extensive application with all input forms running modally. All of my CFv4 forms have been configured to automatically close on submit using a bit of Javascript. I have been unable to get CFv5 forms to behave this way and even have an unsolved topic on the forum about that issue which can be seen here http://www.chronoengine.com/forums/posts/f2/t97960/close-modal-window-on-submit.html. I can't have just one form out of dozens that does not behave like the others!)
Thanks in advance for any help!
John