coblocks icon indicating copy to clipboard operation
coblocks copied to clipboard

ISBAT Add 3 new blocks to Contact Form block and error and an editable error/description message to form validation settings

Open gdandrija opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Not a problem, but a feature pack that would bring our Contact form block to another level

Describe the solution you'd like

Additional features to improve the Contact Form block.

Providing suggestions from WordPress.org directly:

  1. Is there a way I could change the error and description message for each of the fields?

For instance, I tried putting one checkbox as a declaration towards the end of the form. When I leave it unchecked, it shows the error message “Please select at least one checkbox”. But there is only one checkbox anyway. And so, the ability to customise these messages would be great.

Similarly, the final successful message states “Your message was sent:” along with the form. It would be great to be able to customise the message and provide some links for users to checkout, once they have filled the form.

  1. Is there a way to add Address fields that also has a Country drop-down list.

  2. It would be great to have Phone validation, that is, when users select a country, it displays their country code before the phone field. Also, the phone field, as of now, doesn’t have any kind of validation, and so one can input text characters and get past that field.

  3. Is it possible to include conditional options for fields.

For instance, if user chooses Yes to Q1, they can then skip to Q4. If they choose No, then they proceed with Q2.

Describe alternatives you've considered

/

Additional context/screenshots

WordPress.org link: https://wordpress.org/support/topic/contact-form-282/

Please consider adding features mentioned to the Contact Form block, you are awesome guys :)

gdandrija avatar Nov 16 '20 19:11 gdandrija