Jump to content

[SOLVED] Default Values for Forms


xProteuSx

Recommended Posts

I have a form in the format of:

 

<input type="text" name="user_handle" size="20" maxlength="35">

 

Is there anything that I can enter into this line to give it a default value??  I mean something like this:

 

<input type="text" name="user_handle" size="20" maxlength="35" default="Proteus">

 

So that when you load the page it will already have 'Proteus' typed into this input field, but you can delete this text and enter your own.  Any ideas?

Link to comment
https://forums.phpfreaks.com/topic/78660-solved-default-values-for-forms/
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.