their isnt unless somehow, you opt in javascript.
Similar Catagories
*Making Form Buttons Disabled After the user has clicked it
i was wondering if there was a way to have the submit button disabled until a textarea is written in?
thanks.
their isnt unless somehow, you opt in javascript.
Similar Catagories
*Making Form Buttons Disabled After the user has clicked it
that's why i called the thread "javascript and forms"
Um, what? "Similar Catagories"? (Categories is spelled with an "e", by the way)Similar Catagories
*Making Form Buttons Disabled After the user has clicked it
Anyway, in your textarea tag add:
onChange="document.formname.submitbutton.disabled=false"
Changing "formname" to the name of your form and "submitbutton" as the name of your submit button. Example:
<form name=formname>
<textarea onChange="document.formname.submitbutton.disabled=false"></textarea>
<input type=submit name=submitbutton disabled>
</form>
I think I may have been here before... a long, long time ago... 599699 Unread Posts, you say?
Ah, I found my old avatar. The hypnotic evil duck.
It was 2002. Duck avatars were the style at the time.
Long and fascinating story there. I'd tell you if I remembered it.
thanks![]()
Bookmarks