home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Form help

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2699
Discussions: 200,966, Posts: 2,379,637, Members: 246,332
Old May 4th, 2004, 05:29 PM   Digg it!   #1 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
Form help

Hey guys, I need some help with this form:

HTML Code:
<form method="post" action="<$MTCGIPath$>mt-add-notify.cgi"> <div align="center"> <input type="hidden" name="blog_id" value="<$MTBlogID$>" /> <input type="hidden" name="_redirect" value="<$MTBlogURL$>" /> <br /> <input name="email" size="20" /> <br /> <input type="submit" value="Add Me" /> </div> </form>
As you can see from this form, once the person hits the 'Add Me' button it will redirect the person to the page. How can I tell it to redirect in '_self'?
ClubMed is offline   Reply With Quote
Old May 4th, 2004, 06:04 PM     #2 (permalink)
Senior Member
 
omalleytrading's Avatar
 
Join Date: Apr 2003
Location: Albany, NY
Posts: 623
This should do the trick:

HTML Code:
<form method="post" action="<$MTCGIPath$>mt-add-notify.cgi" target="_Self">
omalleytrading is offline   Reply With Quote
Old May 5th, 2004, 09:24 AM     #3 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
Thankyou, ill give it a try.
ClubMed is offline   Reply With Quote
Old May 5th, 2004, 02:21 PM     #4 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
didn't work, a new page is loaded once the 'add me' button is clicked.
ClubMed is offline   Reply With Quote
Old May 5th, 2004, 02:28 PM     #5 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
Ah, I figured it out, the target="_self" needs to go here:

<input type="hidden" name="_redirect" value="<$MTBlogURL$>" />

it now works.
ClubMed is offline   Reply With Quote
Old May 6th, 2004, 12:38 AM     #6 (permalink)
ph34r t3h g04t
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 19,568
Blog Entries: 7
Welcome to the joys of MovableType, CM.
Whir is online now   Reply With Quote
Old May 6th, 2004, 06:12 AM     #7 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
Do you use MT Whir?
ClubMed is offline   Reply With Quote
Old May 6th, 2004, 06:29 AM     #8 (permalink)
ph34r t3h g04t
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 19,568
Blog Entries: 7
Ya. I've set up five or six different MT blogs and completely redesigned them from the ground up. I've even embedded on inside another page. Feel free to post or PM me any questions about it.
Whir is online now   Reply With Quote
Old May 6th, 2004, 07:00 AM     #9 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
Thanks very much for the help so far!

Actually, I do have another question, I would like to incorporate a voting box into MT.

Do you know of any good 'voting-software' (html, cgi or javascript perhaps?) that can be incorporated into MT? (I am not using any PHP or MySQL features currently as my DB's are over loaded).
ClubMed is offline   Reply With Quote
Old May 6th, 2004, 07:19 AM     #10 (permalink)
ph34r t3h g04t
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 19,568
Blog Entries: 7
I don't know of any voting software at all, let alone anything good. But if you find some, I can probably help you get it into the blog.
Whir is online now   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (3014)
Forty-six years ago today (7)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Internet Lost (5)
windows 7 problem (7)
windows vista security holes (15)
Point and Shoot Camera Suggestions. (6)
Is the PSU I received dead? (13)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
windows vista security holes (15)
Help getting around port 80 for camer.. (4)
Laptop with wireless problem. (12)
Open With ..... Win7 (2)
Internet Lost (5)
Skillsoft Network+ Study Software Que.. (9)
virus blocking exe. files (1)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)


All times are GMT -4. The time now is 02:50 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28