Jump to content

Placing Custom Field description inside the input box


Webmaster001

Recommended Posts

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated