on 2023 Nov 04 9:31 PM
I've created a honeypot field in a registration form. The field defaults to required when submitting the form. Is there an attribute or class that can make this form element optional?
<div class="gigya-composite-control gigya-composite-control-textbox gigya-email-confirm
style="display: none;">
<label class="gigya-label">
<span class="gigya-label-text">Confirm Email:</span>
<label class="" data-bound-to="data.emailRetype">Optional</label>
</label>
<input class="gigya-input-text" name="data.emailRetype" data-display-name="data.emailRetype" tabindex="-1"
type="text">
</div>
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hello baamosk,
As I see your field is mapped to the custom field under the data object: data.emailRetype.
All custom fields are not required by default unless you select the opposite.
Once the field is configured as required, no one class or attribute on Screen-Set will not deactivate it.
To change it, please, navigate to the Left Sidebar Menu -> Advanced -> Accounts Schema, select the field and uncheck the Required config.

Hope it helped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.