In the fc_registration_default.xml I found, for the password field this:
<wa_field_set_validation>Password values must match.</wa_field_set_validation>
<wa_field_reference src="text_medium.xml" label="Confirm" validation="{ required: true, isConfirm: true, regEx: null, minAlphaChars: null, maxAlphaChars: null, minNumbers: null, maxNumbers: null, minUpperAlphaChars: null, maxUpperAlphaChars: null, minSpecialChars: null, maxSpecialChars: null, minChars: null, maxChars: null }" serverValidation="required" spryValidation="undefined, { isConfirm:true }" continueLine="false"></wa_field_reference>
Comparing that to a field that is not required,
<wa_field_set_validation>Please enter a value.</wa_field_set_validation>
<wa_field_reference src="text_medium.xml" label="company" validation="{ required: false, type: 'none', format: null, minChars: null, maxChars: null, minValue: null, maxValue: null }" spryValidation="none, { isRequired:false }" continueLine="false"></wa_field_reference>
there is the difference of
required: true, isConfirm: true
vs
required: false
and
{ isConfirm:true }
vs
{ isRequired:false }
So, if I were to change the second set to
<wa_field_set_validation>Please enter a value.</wa_field_set_validation>
<wa_field_reference src="text_medium.xml" label="company" validation="{ required: true, type: 'none', format: null, minChars: null, maxChars: null, minValue: null, maxValue: null }" spryValidation="none, { isRequired:true }" continueLine="false"></wa_field_reference>
would that be what I should be doing? I don't want to break anything. Is there any other place I should change something, if I am on the right track?
Thanks much