Browser redirection, upon form submission

  [DELETED] 18:41 06 Sep 2003

I am building a personal website which I intend to offer for sending SMSes to mobile phones. These SMSes are submitted as froms to a "php" script on a server. From the server the SMSes then find their way to the respective mobile phones.

The code tag I use for submission is something like this:

form name="form_name" method=POST action="click here">

This works well, except for one thing: I am unable to specify a confirmation page.
The trouble seems to be that the server script is the one redirecting the web browser to the next page, after an SMS form is submited. And there is no way I can access the server script; so I am in no position to modify it.

Is there anyway I can modify the above code tag so that I can specify my own confirmation page which the web browser goes to after an SMS form has been submitted?

Someone out there help.

  [DELETED] 18:47 06 Sep 2003

<form .... onsubmit="window.location='click here'">

  [DELETED] 18:50 06 Sep 2003

The code tag format is as follows:

<form name="form_name" method=POST action="url(IP address)/script.php">

That link at the end was just autoformatted to look like that; that I not what I intended.
It wont take you any where anyway, thanks.

  [DELETED] 19:23 06 Sep 2003

The code worked just the same way, no change yet.

  [DELETED] 10:14 07 Sep 2003

Why not put the confirm message on /script.php

you could also then have a 'SMS not sent' message on error

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Microsoft Surface Book 2 15in review

Illustrator Amy Grimes on how setting up her own eco-brand led to success with clients too

MacBook Pro keyboard issues and other problems

Test : l’enceinte connectée HomePod d’Apple