Add grayed-out text in the input text fields
回答済みHow can grayed-out text be added to a text field to assist and suggest to End Users the information they should provide?
-
Hey Jeff,
The attribute you're trying to add is called a placeholder
try adding something like this to the $(document).ready(function() in your scripts.js file in the Guide code.
$(".request_subject").attr("placeholder", "Type your subject here");
if it's a custom text field you're trying to put the placeholder text in, you'll need the custom field ID from the Support interface, but i'm pretty sure you'd do something like this instead.
$(".request_custom_fields_22231180").attr("placeholder", "Type your data here");
Let me know if that works for you.
-
Hi Dan,
This is exactly the information that I needed. Thanks for the quick reply and pointing me in the right direction. Best, -Jeff
サインインしてコメントを残してください。
2 コメント