Jump to content

Forms and deleting prewritten text


xcandiottix

Recommended Posts

You know on how some forms, the data entry field already has the title of what you should type there and after you click on that entry field the pre-existing text disappears? How is that done in php?

 

EX:

 

[ enter your name ] <form field with preexisting text

 

on mouse click to start typing in the field:

 

[                            ] <text disappears

 

 

 

If this was flash I would code something like: on mouse click text field "name" = 0

in php i'm not so sure.

 

Any help is greatly appreciated =)

Link to comment
https://forums.phpfreaks.com/topic/194708-forms-and-deleting-prewritten-text/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.