CF7 – Custom Fields
-
Starting to work on the CF7 integration. I’m trying to use the custom fields but I’m having an issue where it won’t let me click the “Submit” button at the bottom of the WebbaBooking form. I tested out the sample form and it works and saves the appointment correctly.
<p><label for="wbk-name">Your First Name (required)</label>[text* wbk-name class:wbk-text id:wbk-name]</p> <p><label for="wbk-email">Your Email (required)</label>[text* wbk-email class:wbk-text id:wbk-email]</p> <p><label for="wbk-phone">Your phone (required)</label>[text* wbk-phone class:wbk-text id:wbk-phone]</p> <p><label for="wbk-comment">Your comment</label>[textarea wbk-comment class:wbk-textarea id:wbk-comment]</p> <p><label for="custom-field1">Custom field 1</label>[text* custom-field1 class:wbk-text id:custom-field1]</p> <p><label for="custom-field2">Custom field 2</label>[select custom-field2 id:custom-field2 class:wbk-select "option 1" "option 2" "option 3"]</p> <p><label for="custom-field3">Custom field 3</label>[checkbox custom-field3 class:wbk-checkbox-custom id:custom-field3 "option1" "option2" ]</p>
First, I was wondering if the name of the field matters? Does it have to be “wbk-name” for example? What is the significance of the id? And does the “label for=” have to be to “wbk-name” or can it to be to a different custom name?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘CF7 – Custom Fields’ is closed to new replies.