Okay
  Public Ticket #3629545
Contact Form Correction in mobile
Closed

Comments

  •  5
    Hazrath started the conversation

    I am using Contact Form 7 and I want help with this code:

    MY CONCERNS:
    1. This code works perfectly on PC, But when it comes to Mobile Phones I don't want two columns in one row for Email and Mobile. Need a Single line for Each. Please suggest the corrected code and changes to be made. [I referred to this article: https://themenectar.com/docs/salient/contact-form-columns/ But, I didn't understand howto do it]
    2. Please review the autocomplete code is correct or not for Name, Email and Contact Number. If not please provide the corrected version.

    Thanks in Advance. 

    5619512071.png


    <label> What is your name?
       [text* your-name autocomplete:name placeholder "Your Full Name"] </label>
    <label> Subject of Inquiry:
       [text* your-subject placeholder "Briefly Describe Your Inquiry"] </label>
    <div class="nectar-wpcf7-inline-form" style="padding-top: 0;">
      <div class="nectar-wpcf7-inline-field">
         <label> Please provide your email:   
          [email* your-email autocomplete:email placeholder "Your Email Address"] </label>
      </div>
      <div class="nectar-wpcf7-inline-field">
         <label> How can we contact you?
          [tel* your-mobile-number autocomplete:tel placeholder "Your Contact Number"] </label>
      </div>
    </div>
    <label> What's on your mind?
    [textarea your-message placeholder "Your Message or Question..."] </label> [submit "Submit"]


  •  2,958
    Andrew replied

    Hi Hazrath,

    Thank you for reaching out to us.

    To adjust the rows on mobile, you will need to add the class "mobile-1-col" to the wrapping div as shown in our guide here https://themenectar.com/docs/salient/contact-form-columns/#:~:text=Tweaking-,Mobile,-Columns.

    As for autocomplete, this is not something we can advise as Contact 7 is a third-party plugin and we can not be sure how this works. You can read more on the autocomplete feature in their guide here https://contactform7.com/form-autocompletion/ or you can reach out to their team for further advice.

    I hope this info helps.

    Best regards,

  •  5
    Hazrath replied

    Dear Andrew,

    I hope this message finds you well. I wanted to follow up on the link you shared with me earlier. Unfortunately, I was not able to understand how to implement the code. I tried several codes with the [class: "mobile-1-col"], but none of them seemed to work. I'm not familiar with this type of coding, so I'm hoping you can help me by letting me know where to add the code to make this work. To help you better understand my issue, I have included the code I have been working on.

    Thank you for your time and assistance.

    Best regards, Hazrath Mohammed

  •  2,958
    Andrew replied

    Hi Hazrath,

    Thank you for getting back to us.

    To assist with this, could you allow us to log in to your website's backend dashboard so we can check on this for you more? We are gonna need the username and password of the admin user as well as the login URL.

    We look forward to your reply.

    Thanks,

  •   Hazrath replied privately
  •  8,838
    Tahir replied

    Hey Again,

    Just added in the class.

    6781065802.png

    Also the autocompletion seems correct: https://contactform7.com/form-autocompletion/ 

    Thanks.


    ThemeNectar Support Team 

  •  5
    Hazrath replied

    Thank you so much.