Webmaster001 Posted October 10, 2013 Share Posted October 10, 2013 I want to have a custom field in our cart. When I use the name and description of the custom field it is being shown outside the input box (beside the box). Is there anyway we show the name or description of that custom field inside the input box? See this link: https://www.dropbox.com/s/znjvnauyeke7fd6/custom_field.jpg For example, if the custom field is Email and Name we want to just show that inside the input box and when the client clicks on the input box the text disappears and the client can type his email or name. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 11, 2013 Share Posted October 11, 2013 that will use jquery, which is already installed with whmcs. how to do it will likely also depend on your orderform, but here are two links to help you out. http://www.designyourway.net/drb/in-field-labels-jquery-plugin/ http://www.dailycoding.com/Posts/default_text_fields_using_simple_jquery_trick.aspx i'm sure i've seen this on a whmcs installation I helped to fix - but for the life of me I can't remember where! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.