Viewing 4 posts - 1 through 4 (of 4 total)
-
AuthorPosts
-
May 23, 2016 at 12:47 pm #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.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 24, 2016 at 2:16 am #933959Hi
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 .
May 24, 2016 at 7:54 am #934034And if I would like to add a few more? Do I just keep coding under them?
Thanks
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 24, 2016 at 9:54 am #934096This reply has been marked as private.AuthorPostsViewing 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