Trigger validation when moving between accordion tabs

stikki 20 Dec, 2016
Hi

I have a long form using an accordion layout. I would like to trigger a validation check on the first container when the user tries to move to the second container. Is there a way to achieve this?

Many thanks

Mikki
GreyHead 23 Dec, 2016
Hi stikki,

Not that I know of - it might be possible with some custom JavaScript. I have been able to do more complex validation like this using the JQuery Validation Plugin which has more controls than the CF library. There is an example there of validation on an accordion - though the accordion seems to be be broken in the demo :-(

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