Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • valthebault Friend
    #933760

    Hi,

    I recently need to modify my contact form in the way that I could collect more information such as country, region and in which domain the visiter works.

    I would hence like to know how I could add theses questions to the existing form including only ‘name’, ‘e-mail’, ‘subject of the message’ and the ‘message’ itself.

    Thanks in advance.


    1. Contact_Questions
    Pankaj Sharma Moderator
    #933959

    Hi
    there are defined in the template js folder .
    Open /js/script.js find below code and chnage it

    // Add Placeholder form contact
        var formContact = $('.com_contact');
        if (formContact.length > 0) {
            $('#jform_contact_name', formContact).attr('placeholder','Name');
            $('#jform_contact_email', formContact).attr('placeholder','Mail');
            $('#jform_contact_emailmsg', formContact).attr('placeholder','Subject');
            $('#jform_contact_message', formContact).attr('placeholder','Write your message here');
    

    change them with your words .

    valthebault Friend
    #934034

    And if I would like to add a few more? Do I just keep coding under them?

    Thanks

    Pankaj Sharma Moderator
    #934096
    This reply has been marked as private.
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum