Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have to use "on blur" and " on focus" function on textfield.
Do you mean in the Umbraco admin part ?
Thanks for revert but i didn't mean that.
I have a page with umbraco form.
In that page i have name and mobile field.
Your help would be appreciated.
Can you use jquery ?
Just found element in the DOM and attach event.
ok, i'll do the same with jquery but can you please guid how can i achieve the following.
In my name textfield value should be prepopulated like "Name"
once i click in this field it should hide once i moves out of the field that value should come.
Abdullah, maybe you can try to use 'placeholder' attribute?
If you need wider browsers support try to use jquery plugin - https://github.com/mathiasbynens/jquery-placeholder
<input type="text" name="name" placeholder="e.g. John Doe">so in this example how can i pass placeholder value since this is mainted by umbraco code and that doesn't ask me the placeholder value.
What do you mean ?
Once i add a field in umbraco it asks me to enter caption and type of field it doesn't ask me to enter placeholder for that field so how can assign the placeholder value to the umbraco form field
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted