CSV Info a mess
-
Hi Im using Contact Form 7 through a booking extensions called Webba.
I have the form working using custom fields i.e. name, email, phone number etc.
However I have added custom fields to take child and sibling information for the sport course they will attend. When I pull the data through a csv, all the custom fields are all together and not segregated into titles and columns. How do I do this?
Also – Ive copied some code and altered requirements i.e. childs age, and childs school year but the form pulls “childs age” though twice? Any advice?
<p><label for="wbk-name">Your 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="custom-field1">Childs Name (required)</label>[text* custom-field1 class:wbk-text id:custom-field1]</p> <p><label for="custom-field2">Childs Age (required)</label>[text* Childs Age class:wbk-text id:custom-field2]</p> <p><label for="custom-field3">Childs Date of Birth (required)</label>[text* custom-field3 class:wbk-text id:custom-field1]</p> <p><label for="custom-field4">School Name (required)</label>[text* custom-field2 id:custom-field1]</p> <p><label for="custom-field5">Childs School Year (required)</label>[text* custom-field2 class:wbk-text id:custom-field2]</p> <p><label for="custom-field6">Any Allergies? (required)</label>[text* custom-field3 class:wbk-text id:custom-field3]</p> <p><label for="wbk-secondary-name_1">Emergency name (required)</label>[text* custom-field1 class:wbk-notify-name_1 class:wbk-text id:wbk-secondary-name_1]</p> <p><label for="wbk-secondary-phone">Emergency phone (required)</label>[text* wbk-phone class:wbk-text id:wbk-phone]</p> <p><label for="custom-field2">Does the player have Asthma? (required) </label>[select custom-field2 id:custom-field2 class:wbk-select "Yes" "No"]</p> <p><label for="custom-field2">If Yes, is an inhaler required for sport? (required) </label>[select custom-field2 id:custom-field2 class:wbk-select "Yes" "No" "N/A"]</p> <p><label for="custom-field5">Any other Medical Conditions, Allergies or Special Needs? </label>[text* custom-field6 class:wbk-text id:custom-field3]</p> <p><label for="wbk-comment">Your comment</label>[textarea wbk-comment class:wbk-textarea id:wbk-comment]</p>
The topic ‘CSV Info a mess’ is closed to new replies.