add attribute to the contact form

Home Forums Jevelin Theme add attribute to the contact form

Home Forums Jevelin Theme add attribute to the contact form

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Konrud
    Participant

    I need to add an attribute to the contact form.

    Where can I find file to do this (I mean I want to override it)?

     

    I’ve tried public_html/wp-content/themes/jevelin/framework-customizations/extensions/forms/extensions/contact-forms/views/form.php

    but I can’t add custom attribute there.

     

    <div id="contact-form-<?php echo esc_attr( $form_id ); ?>" class="form-wrapper contact-form">
     <?php echo wp_kses( $form_html, jevelin_allowed_html_form() ); ?>
     </div>

    Hi @Konrud,

     

    I hope you are well today and thank you for your question.

     

    Could you please tell me which attribute and where do you want to add it in the contact form markup so that i can help you to achieve it?

     

    Best regards,
    Shufflehound team

    Konrud
    Participant

    I want to add novalidate attribute on the form tag.

    You have to develop custom code as described on the following page to achieve it.

     

    http://manual.unyson.io/en/latest/extension/forms/

     

    Or you can just develop javascript code that will add this attribute to form tag after page loads.

    Konrud
    Participant

    Doesn’t it have to be method which is dynamically building this form? Where can I find this one?

    No you can only customise it as described in the above shared page.

Viewing 6 posts - 1 through 6 (of 6 total)