Hi David,
Thanks for using BigContact.
We have been experimenting with the current form design since 2007, and we have found that making a phone number a required field decreases contact form conversion rate.
However under current plugin license you are able to modify the code as you wish.
For the pattern part, we are releasing another update that removes the pattern and placeholder for the phone field, as the phone format might be different for international users. Currently this is around line 56 of file wp-content/plugins/bigcontact/classes/form.php
placeholder="###-###-####" pattern="^\D?(\d{3})\D?\D?(\d{3})\D?(\d{4})$"
As far as making the phone field required, you could add a required attribute to the phone input form on the same above file, and add some validation for it in wp-content/plugins/bigcontact/include/contact-json.php
You might also want to keep your settings page in harmony with your changes by removing the optional text from phone input field in admin
wp-content/plugins/bigcontact/view/BigContact.phtml
I hope this helps, and please rate us a 5Star
Thanks
-Norik
Hi Norik,
Thank you for this information! I find it interesting that conversion rates are lower with required phone fields. I will bear this in mind.
Regards,
David
is there a way to remvoe optional fields if all you want is Member userid (changed name label to reflect this), email address and message?
A blog typically does not need the phone and address.
I removd the field labels by blanking and pressing enter but the field itself still shows on the screen.
Great Plugin Though…. makes creating the Contact Page a 5 minute, or less, process.