I've just been experimenting with the new panes and panels in the latest version and I've come across issues with validation error messages.
Take a look at:
http://weven.co.uk/index.php?option=com_chronoforms&chronoform=findco
I've put the submit button on the final pane, but if there are validation errors on the previous panes they appear top left of screen. This is obviously because the appropriate error divs aren't rendered on the page at this stage when the panel with that field isn't open.
What is the approach I should be taking to validation in this case? Validating each pane as I try to move to the next (if so, how)? Removing the on-field validation tips and just having all messages appear at the top of the final pane (the one with the submit button- if so, how)? Something else?
Whatever approach people have got to work for them, could they share their thoughts (and example code if possible) with me?
Cheers everyone
Andy
Take a look at:
http://weven.co.uk/index.php?option=com_chronoforms&chronoform=findco
I've put the submit button on the final pane, but if there are validation errors on the previous panes they appear top left of screen. This is obviously because the appropriate error divs aren't rendered on the page at this stage when the panel with that field isn't open.
What is the approach I should be taking to validation in this case? Validating each pane as I try to move to the next (if so, how)? Removing the on-field validation tips and just having all messages appear at the top of the final pane (the one with the submit button- if so, how)? Something else?
Whatever approach people have got to work for them, could they share their thoughts (and example code if possible) with me?
Cheers everyone
Andy