I am starting to use the Multiplier containers, and all works as expected except for the validations!
As an example, I tested with the supplied Demos, and after editing the "demo-fields-multiplier" form, and making the text field required, when testing the form, the validation is ignored in the repeated fields! (I'm using the supplied validation, not a custom one).
Also, is there a tutorial on how to set up the way to save into the database (and upload files, and update a notification email) with this newly created multiplier fields?
Thanks in advance!
As an example, I tested with the supplied Demos, and after editing the "demo-fields-multiplier" form, and making the text field required, when testing the form, the validation is ignored in the repeated fields! (I'm using the supplied validation, not a custom one).
Also, is there a tutorial on how to set up the way to save into the database (and upload files, and update a notification email) with this newly created multiplier fields?
Thanks in advance!
I haven't got a definite answer for this, but I have to say that the automatic validation does work (more or less) when pressing the submit button, although the date picker is not shown and when creating new multiplier fields, these inherit any error message that was present in the original.
A solution for this would be to rebind the validation to the newly created fields after creating them.
I am not going to do this for now because I have made my own multiplier code, and for now I'm happy.
Anyway, great tool, chronoforms is the best!
A solution for this would be to rebind the validation to the newly created fields after creating them.
I am not going to do this for now because I have made my own multiplier code, and for now I'm happy.
Anyway, great tool, chronoforms is the best!
Hi htavares,
I experimented for a client recently using the jQuery validation plug-in on a complex form. It has the advantage over the CF validation library that there are more 'hooks' where you can add or remove validations (and more ways to add custom validations). It seems to work OK with CFv5, I've not tested it with the Multiplier - though I have on a form that show/hides fieldsets.
Bob
I experimented for a client recently using the jQuery validation plug-in on a complex form. It has the advantage over the CF validation library that there are more 'hooks' where you can add or remove validations (and more ways to add custom validations). It seems to work OK with CFv5, I've not tested it with the Multiplier - though I have on a form that show/hides fieldsets.
Bob
Nice one Bob, thanks for the suggestion!
One thing that I really like in the currect validator, is that it ignores hidden fields, and when clicking the submit button and if you have tabs, it jumps to the tab with the first required field.
Does the jQuery Validation do that as well?
One thing that I really like in the currect validator, is that it ignores hidden fields, and when clicking the submit button and if you have tabs, it jumps to the tab with the first required field.
Does the jQuery Validation do that as well?
This topic is locked and no more replies can be posted.