xProteuSx Posted November 24, 2007 Share Posted November 24, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/78660-solved-default-values-for-forms/ Share on other sites More sharing options...
xProteuSx Posted November 24, 2007 Author Share Posted November 24, 2007 Never mind, I figured it out. Just had to add 'value=Proteus' to the input. Quote Link to comment https://forums.phpfreaks.com/topic/78660-solved-default-values-for-forms/#findComment-398027 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.