Gossamer Forum
Home : General : Perl Programming :

form auto submit

Quote Reply
form auto submit
hey, i have kind of asked this question before but its slightly revised.
i have a form (see below), it works if there is a submit button for the user to press, however i dont want to have one becuase this is a script that is processed by the system. so how do i submit the form without an action required? or is there a shortcut?

thanks
Pedge

Code:
<form action="" method="post" name="test outbound" id="test outbound">
<textarea cols="70" rows="25" name="XML">
<?xml version="1.0" ?>
<SMSMessage>
<SMSAuthentication>

</SMSAuthentication>
<SMSMessageData>

</SMSMessageData>
</SMSMessage>
</textarea>
</form>

also tried
Code:
my $xml =q(
<?xml version="1.0" ?>
<SMSMessage>
<SMSAuthentication>

</SMSAuthentication>
<SMSMessageData>

</SMSMessageData>
</SMSMessage>
); system (http://www.some_url.com?XML=$xml);

but that didnt work.
Subject Author Views Date
Thread form auto submit pedge 5375 Dec 2, 2003, 9:00 AM
Thread Re: [pedge] form auto submit
Recall 5193 Dec 2, 2003, 9:25 AM
Post Re: [Recall] form auto submit
pedge 5178 Dec 2, 2003, 10:00 AM