to adapt the booking form to the GDPR I added a custom field with a checkbox.
I would need to format part of the checkbox text to insert a link to the privacy policy and highlight it in a different color (I attach an example for the text).
I tried to insert it by writing the html in the label but there is a parsing that prevents it. How can I do it?
So this text appears as a hyperlink that opens a new tab (target="_blank") and takes the customers to your Terms & Conditions without them leaving the booking form. So the custom field on the back end would look like this:
As you can see, we made this radio button a mandatory field, so no one can book an appointment without checking the "I agree" button.
Hi,
to adapt the booking form to the GDPR I added a custom field with a checkbox.
I would need to format part of the checkbox text to insert a link to the privacy policy and highlight it in a different color (I attach an example for the text).
I tried to insert it by writing the html in the label but there is a parsing that prevents it. How can I do it?
Attached files: Screenshot 2025-01-15 alle 18.31.57.png
Hello Gianluca,
Thank you for reaching out to us.
To add a link to Terms & Conditions, you can use "Checkbox" or "Radio" custom fields. In the custom field you need to add an anchor tag like this:
So this text appears as a hyperlink that opens a new tab (target="_blank") and takes the customers to your Terms & Conditions without them leaving the booking form. So the custom field on the back end would look like this:
As you can see, we made this radio button a mandatory field, so no one can book an appointment without checking the "I agree" button.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Uros,
thank you for your reply.
I would like to be able to insert the html in the Options field and not in the Label field.
That is, I would like to insert the link in the text next to the checkbox as in the attached image.
This is not possible at the moment. Can it be done another way?
Attached files: Screenshot 2025-01-16 alle 15.03.45.png
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables