How to customize one contact form label text?

This topic has 7 replies, 4 voices, and was last updated 8 years, 7 months ago ago by Jack Richardson

  • Avatar: Webacto
    Webacto
    Participant
    October 6, 2015 at 08:54

    Hello,

    I need to change my contact form label optional text “Phone” in “Skype Name / Phone”.
    This is my contact form page:
    http://lococostyle.com/contactus/

    How can I realize in it?
    Which is the file to modify and the process?

    thank you in advance

    6 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    October 6, 2015 at 09:05

    Hello,

    You can change form field in \themes\royal\framework\shortcodes.php in // ! Contact form section.

    Regards,
    Robert Hall.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    October 6, 2015 at 09:15

    Hello

    You may use Visual composer for changing label “skype”.
    1.Please navigate to the element settings as on the screenshot http://prntscr.com/8o9yxl.
    2. Click on editing element icon for text block and change label text to the one you prefer(http://prntscr.com/8oa097)

    Regards
    Brian Johnson

    Avatar: Webacto
    Webacto
    Participant
    October 6, 2015 at 11:17

    Thank you,

    Skype is ok.

    About contact form changes, I don’t know how to solve the other .php customization (unfortunatly I didn’t know this language) and I have to ask help you again.

    In my shortcodes.php I have found the code parte thats refers to “Website” label text, it’s that one:

    <div class=”form-group”>
    <p class=”form-name”>
    <label for=”contact-website” class=”control-label”><?php _e(‘Website’, ETHEME_DOMAIN) ?></label>
    <input type=”text” name=”contact-website” class=”form-control” id=”contact-website”>
    </p>
    </div>

    For change “Website” label text in a “Phone Number / Skype Name” new one, which will be the right code?

    Avatar: Brian Johnson
    Brian Johnson
    Member
    October 6, 2015 at 11:27

    Please replace “” to your text.

    Regards,
    Brian Johnson

    Avatar: Webacto
    Webacto
    Participant
    October 7, 2015 at 16:21

    Solved!

    Thank you!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 7, 2015 at 16:29

    Hello,

    You are welcome!

    Best regards,
    Jack Richardson.

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘How to customize one contact form label text?’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.