Inserting text into form fields.
-
Hi all,
I wish to insert text into a form field. Is there a filter I can use to alter the text entered in a form field when the page loads?E.G. If for example, you had a custom field in a post, and you wanted the field to be populated with a random text string on page load, how could you do that. I actually want to populate it with the result of a function, but that is beside the point. It is important that the user can delete and retype if they wish.
Many thanks,
Andrew
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Inserting text into form fields.’ is closed to new replies.