OTrap
Elite Member
- Jul 12, 2008
- 2,314
- 1,064
Since the form is in HTML, I assume this still fits in this forum.
I have a form:
Up to this point, I've been using a little Javascript to autosubmit it.
The problem is, some of the people who visit the page have Javascript disabled.
So my question is this: Is there another way to auto-submit the form without Javascript?
Thanks!
I have a form:
Code:
<form name="form">
<input id="field" name="field" value="<?php print $somephp; ?>" />
<input type="image" src="images/buttons.png" alt="Post!" />
</form>
Up to this point, I've been using a little Javascript to autosubmit it.
Code:
<script language="JavaScript">
document.forms['form'].submit(0);
</script>
The problem is, some of the people who visit the page have Javascript disabled.
So my question is this: Is there another way to auto-submit the form without Javascript?
Thanks!