Navigation überspringen

[Gelöst] I have added a checkbox generic field to a CRED create form

This support ticket is created vor 4 Jahren, 10 Monaten. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Dieses Thema enthält 0 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von Noriko Sugiura vor 4 Jahren, 10 Monaten.

Assistiert von: Shane.

Author
Artikel
#1716141

I have added a checkbox generic field to a CRED create form as following:
{code}
[cred_generic_field type='checkbox' field='policy']
{
"required":1,
"value":1,
"default":"",
"label":"accept policy"
}
[/cred_generic_field]
{/code}
This is what happens when submitting the form:* If the checkbox is not clicked => a message is shown the field is required => as expected* If the checkbox is clicked => the form is submitted to the backend, and then returns with a message "The field is required" > not as expectedForm page: versteckter Link can give you admin access.Thank you