Home › Forums › Ticket Products › Event Tickets Plus › Adding Placeholder text to Attendee field
- This topic has 11 replies, 4 voices, and was last updated 9 years, 7 months ago by
Ken Wee Chew.
-
AuthorPosts
-
August 15, 2016 at 7:48 pm #1151911
Ken Wee Chew
ParticipantPlease help me in adding placeholder text to the attendee fields.
August 16, 2016 at 12:11 am #1151960Geoff B.
MemberGood evening Ken and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.As a first step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
https://theeventscalendar.com/knowledgebase/sharing-sys-info/
Secondly, there is currently no built-in way to add placeholder text in the additional attendee info fields.
But I can totally see how that would be a great feature. I would encourage you to suggest that very feature here: https://tribe.uservoice.com/forums/195723-feature-ideas
That being said, that could probably be accomplished via a snippet placed in your theme’s functions.php in the meantime.
Something jQuery based should do the trick. Have a look at the following snippet (to adapt) as a starting point: https://gist.github.com/GeoffEW/b12ecb9a75b8ad2210e18183ffc96205Let me know if that helps.
Have a great day!
Geoff B.
August 16, 2016 at 7:10 am #1152036Ken Wee Chew
ParticipantThis reply is private.
August 16, 2016 at 9:27 am #1152115Ken Wee Chew
ParticipantI have basic knowledge on jquery. I have even added the placeholder in dev tools and checked. Could you assist me exactly where I have to place my code? Doesn’t work when inserted in theme’s funtions.php
August 16, 2016 at 9:38 am #1152188Ken Wee Chew
ParticipantI am also trying this code
jQuery(‘#tribe-tickets-meta_business-phone’).prop(“placeholder”, “Type your phone number”);
I found the id from dev tools. Not sure about the placement of code though.
August 16, 2016 at 10:10 pm #1152441Geoff B.
MemberGood evening Ken,
Thank you for writing back and for providing the system info.
Before we begin, as a disclaimer, I simply want to point out that officially we do not support QTranslateX as a multilingual solution compatible with our plugin.
That does not necessarily mean that they won’t work together (many of our customer have successfully done that). But it means that, at least for now, we are focusing our efforts on WPML compatibility as a multilingual solution.With that in mind, I would like to get you started on the right track.
The simplest way to do that would be to send me a copy of your WordPress theme / child theme in a .zip file link (via Dropbox or Google Drive) so that I can run some tests on my end ? Normally, the correct place to put the snippet would indeed be in your theme’s functions.phpWhat would also be super helpful is if you had an example (URL) of a ticket with additional attendee fields.
That way my advice would be more personalized.In the meantime, here is some recommended reading on that very topic: http://stackoverflow.com/questions/12993130/how-to-add-a-placeholder-attribute-if-value-field-is-empty
Best regards,
Geoff B.
August 23, 2016 at 8:00 am #1154792Ken Wee Chew
ParticipantThis reply is private.
August 23, 2016 at 11:50 pm #1155236Geoff B.
MemberThis reply is private.
August 29, 2016 at 11:36 pm #1157436Geoff B.
MemberThis reply is private.
August 30, 2016 at 3:05 pm #1157848Geoff B.
MemberThis reply is private.
September 21, 2016 at 9:35 am #1166987Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Adding Placeholder text to Attendee field’ is closed to new replies.
