coder9 Posted July 21, 2008 Share Posted July 21, 2008 Ok, i know how to create basic form with button. What i want is an automatic one. That has no button. Let say the fields has values already. and then automatically redirect to the other page. How would do that? Tank u! Link to comment https://forums.phpfreaks.com/topic/115787-automatic-form-how/ Share on other sites More sharing options...
tibberous Posted July 21, 2008 Share Posted July 21, 2008 Javascript. But I can't think of any time you would ever want to do that, except maybe some kind of XSS type thing. Link to comment https://forums.phpfreaks.com/topic/115787-automatic-form-how/#findComment-595237 Share on other sites More sharing options...
unkwntech Posted July 21, 2008 Share Posted July 21, 2008 The JavaScript for that would be this: onLoad="document.formName.submit();" Link to comment https://forums.phpfreaks.com/topic/115787-automatic-form-how/#findComment-595279 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.