|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
nebulae Guest
|
Posted: Sat Aug 30, 2003 8:41 pm Post subject: stop form from submitting to new window? |
|
|
no matter what I try, I cant stop a form from opening a new window on submit... Ive tried setting the target as such:
$smarty->assign( "target", $PHP_SELF );
and
$smarty->assign( "target", 'pagename.php' );
Ive even made a duplicate page with a different name, and tried to set that as the target, but it still opens a new window instead of loading in the current browser window. any ideas? Im on a very strict timeline here, so quick help would be very appreciated
thanks,
trinity |
|
Back to top |
|
mikeken Smarty Regular
Joined: 13 Aug 2003 Posts: 57 Location: MN
|
Posted: Sat Aug 30, 2003 10:35 pm Post subject: |
|
|
Ive never heard of such coming from a submit button, unless...are you using javascript to submit the form? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sun Aug 31, 2003 8:27 am Post subject: |
|
|
it seems you have sth. like <form target="..."> in your html and really want sth. like <form action="..."> |
|
Back to top |
|
nebulae Guest
|
Posted: Sun Aug 31, 2003 6:35 pm Post subject: uh huh |
|
|
my bad. seriously dumb moment there. sorry to waste your time.
I R SMRT!!1 |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|