Skip Navigation

[Gelöst] Check box required on form

This support ticket is created vor 2 Jahre, 11 Monate. There's a good chance that you are reading advice that it now obsolete.

Dies ist das technische Support-Forum für Toolset – eine Suite von Plugins zur Entwicklung von WordPress-Websites ohne PHP-Pogrammierung.

Jeder kann in diesem Forum lesen, aber nur Toolset-Kunden können darin Beiträge veröffentlichen. Der Toolset-Support arbeitet 6 Tage pro Woche, 19 Stunden pro Tag.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 8 Antworten, has 2 Stimmen.

Last updated by romanF vor 2 Jahre, 11 Monate.

Assigned support staff: Minesh.

Author
Artikel
#1682687
checkboxissue.jpg

I have a form that needs a checkbox to be checked.

I added this snippet to the form html editor:

[cred_generic_field type='checkbox' field='datenschutz']
{
"required":1,
"label":"Datenschutz: Ich bin einverstanden das meine Daten zur Verarbeitung gespeichert werden."
}
[/cred_generic_field]

it appears as intended but if I check to box, I still can't submit the form and an error message appears. See screenshot.
What do I need to add so the form can only be submitted when the checkbox is checked?

#1683327

Minesh
Supporter

Languages: Englisch (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL where I can access the form as well as access details so I can check whats going wrong with your site.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1683561

Minesh
Supporter

Languages: Englisch (English )

Timezone: Asia/Kolkata (GMT+05:30)

And again can you please confirm that the issue is even you checkmark the checkbox you added using generic field even though checkbox is check still you are not able to submit the fform?

Sorry but can you please share problem URL where you added the form.

#1683571

The URL is: hidden link

And yes, exactly. Even when I check the required checkbox the error appears and the form can't be sent.

Thank you for your support

#1683653

Minesh
Supporter

Languages: Englisch (English )

Timezone: Asia/Kolkata (GMT+05:30)

Unfortunately - the wp-admin access details you shared is not working at this end.

Can you please send me working admin access details.

I have set the next reply to private which means only you and I have access to it.

#1683979

Minesh
Supporter

Languages: Englisch (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now: hidden link

I've added the generic checkbox field as given under:

 [cred_generic_field type='checkbox' field='datenschutz']
{
"required":1,
"default":"1",
"label":"Datenschutz: Ich bin einverstanden das meine Daten zur Verarbeitung gespeichert werden."
}
[/cred_generic_field]

I can see its working as expected now, can you please confirm.

#1684037

Great work! Thank You!

I have an additional question. %%FORM_DATA%% sends the password as cleartext. Is there a way to not do this? This is not really data security confirm!

#1684041

Minesh
Supporter

Languages: Englisch (English )

Timezone: Asia/Kolkata (GMT+05:30)

Glad to know that solution I shared help you to resolve your original issue.

May I kindly ask you to open a new ticket with every new question you may have. This will help other users searching on the forum as well as help us to write correct problem resolution summery for original issue.

#1684083

My issue is resolved now. Thank you!

Das Forum „Toolset Professioneller Support“ ist für neue Themen und Antworten geschlossen.