Forums

show all Required Fields when Validate at submit (not only first)

grafik 29 Jul, 2015
Hi, i search a "easy way" to have same result that i get at CFv4.
when i use Show HTML [GH] > FormCheck options with following code:

fieldErrorClass: 'validate_error',
display: {
  showErrors: 1,
  addClassErrorToField: 1,
  indicateErrors: 2
},


what code do & i wish for CFv5 is:
show all Required Fields when Validate at submit (not only first, like default)
hope that someone is able to help me, with this Problem. (i cant believe that i should be the only one who need this)

something that i anyway dont understand is:
why it is not standard to display all missing Required fields at submit?
GreyHead 30 Jul, 2015
Hi grafik,

Not that I know of - though the validation in the recent versions does work on blur rather than just on submit.

I don't know why Max built it that way I'm afraid.


Bob
grafik 20 Aug, 2015
:cry: hope there is a solution soon (that dont require to modify corefiles!)

i like Chronoforms, and CFv5 has many good things. but there are some features that i miss.
for example:
the validation (show all errors on submit)
better support for auto-generated mail if using placeholder instead of label (CF should use placeholder instead of label at email if labels are empty)
better support to use classes for parent element (like here but without "abuse" extra params and js-file)
better support to disable specific CF CSS and/or JS files (for example: i need the structure of bootstrap form, but none of the css that where loaded by CF)
grafik 16 Oct, 2015
still look for a solution.

something else that also didnt work as expected is:
when you add/remove validation dynamic with event on check for example, then validation is added/removed correct, but asterisk remains untouched (is not added, or is not removed)
hope that this could be solved also.
This topic is locked and no more replies can be posted.