Forums

how to set form target

thoms005 01 Nov, 2007
The submit url (action) of my form takes me to another site (paypal). I would like to set the form target to "_blank" and have the redirect url take the user to the redirect page. How can I set the form target? There is no email being sent with this form.

I'm using version 2.2.1 with bot 0.2

Thanks
Max_admin 01 Nov, 2007
Hi thoms,

Iam not sure if I got it but I think you can write target="whatever" in the "form tag attachment" field and it will be added to the form tag ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Killy 09 Jun, 2009
Hi,

sorry to resurect and old topic but I tested it and it worked.

Only problem is that the form is still open after that. Is there a way to reload the index.php page after hitting the "submit" button?

Nevermind I found this:

function reload(){
location.href="URL";
}


And then onsubmit="reload();"
This topic is locked and no more replies can be posted.