HTML - Form Help To Redirect To Smugmug Page...
Hey everyone,
This is my first post here, and I was hoping you guys could help me with a problem I am having. I own a race photography company and I am trying to find a way to create a form that athletes can fill out and it will take them to their images. I have keyworded all the images on my smugmug site with a race id followed by a number, such as "gunstock 6" So if they visit http://blahblahblah.smugmug.com/keyword/gunstock 6 it will bring up all the images of them from that race (every image keyworded with gunstock 6) However..... what I want to do is make that into a form which will take them to that specific page. I am a newbie when it comes to designing forms and webpages, and after searching around, it seemed the form get command sort of achieves what I want, in that it takes the form input and places it in the url. However... it also places the usual query text such as the question mark, =, and all that good stuff. So when I enter the race id and number on my form, it will instead take me to the url .../keyword/?=gunstock&=6, which instead of being a defined page with all of the images keyworded gunstock 6, it will just bring me to the keyword search page of smugmug. Is there any way to design a form that redirects simply to the .../keyword/raceid # url format? Thanks a million! Similar TutorialsHello, If I were to change my pages from thispage.html to thispage.php or this-page.html how would I make sure that the old page will redirect to the new one? Hi, I'm new here and need a simple question answered: I have a store I am putting online, the store resides in a folder under the main folder so I need to have the index.htm in the main folder redirect the user to the index.htm in the store folder. I'm a bit rusty on my html skills, CRS is begining to raise it's ugly head, and can't for the life of me remember how to do it or find a reference to it. My daughter's wedding inviations have a url on them that was misprinted "www.website.com/wedding" which should have been "www.website.com/wedding.html". Is there a way to Redirect what was misprinted as a directory, to go to the actual web page "www.website.com/wedding.html"? I have intermediate knowledge building html web pages using Dreamweaver (I know some Javascript and CSS). Thank you from a desperate father-of-the-bride!! There is an ivalid page on www.google.com and it directs me back to the home page. Why is that? Hey I have a site that has a weekly newsletter; people sign up through an opt in box... What I want to do is after they sign up and hit submit, I want them redirected to the same page right under the opt in box so that they can start right where they left off. Does anyone know how to redirect to a certain point on a web page? Thanks. How can I set up a page that automaticaly redirects my visitors to a new page? ok guys thanks for all help you have given me so far. Now here is my next thing, we have aquired about 20 websites whihc will all be linking to my one site. These are all well known sites with in my niche. How is the best way to do this, would it be better to use redirect or have a splash page and have people click. will google only count clicks as links to my sites or how dose this work. Thanks. Hello all i've been doing some research on my own and am simply trying to redirect my site "ndcubed.com" to "ndcubed.com/Construction/Constuction.html" when my site is undergoing maintenance. I've managed to read up on some tutorials and have found that this is apparently supposed to work: In the .htaccess file Code: Options +FollowSymlinks RewriteEngine on RewriteCond %{REQUEST_URI} !/Construction/Construction.html$ RewriteRule $ /Construction/Construction.html [R=302,L] This works like a charm and redirects all my pages to Construction.html however if you try going to my site the redirected URL is simply a blank page. However when the code in the .htaccess file is removed it isn't blank and displays normally. What could be going wrong, why would a redirect cause this page to not load correctly? Nothing is loaded except plain text, even the page background isn't displayed. Thank you for your help, I feel like i'm so close to getting this solved. Construction.html source: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { background-image: url(Images/lightGrayBack.png); background-repeat: repeat; } --> </style></head> <body> Test </body> </html> I'm using the Dodosmail script, and am trying to redirect to a different page, once the form has been completed. I've followed the readme file and have entered in the after URL, but everytime, the form sends me to my dodosmail.php page, and not starterpack.php (which I want). The form works, but it just doesn't send me to the right page. Does anyone know if I've gone wrong at all with the coding? HTML Code: <form action="http://broadcast.tcg-publicity.org/dodosmail2_5/dodosmail.php" method="post"> <p> <input type="hidden" name="subject" value="Broadcast-Join" /> <input type="hidden" name="your_email_address" value="broadcast-tcg@live.co.uk" /> <input type="hidden" name="check_email_address" value="no" /> <input type="hidden" name="required_fields" value="firstname,email,website,set" /> <input type="hidden" name="after_url" value="starterpack.php"> Name: <input type="text" name="firstname" /> <br /> Email: <input type="text" name="email" /> <br /> Website: <input type="text" name="website" /> <br /> Birthday: <select name="date"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <select name="month"> <option value="january">January</option> <option value="february">February</option> <option value="march">March</option> <option value="april">April</option> <option value="may">May</option> <option value="june">June</option> <option value="july">July</option> <option value="august">August</option> <option value="september">September</option> <option value="october">October</option> <option value="november">November</option> <option value="december">December</option> </select> <br /> Collecting Set: <input type="text" name="set" /> <br /> Referred By?: <input type="text" name="referrer" /> <br>Comments: <textarea rows="5" cols="20" wrap="physical" name="comments"> </textarea> <br> <input type="submit" value="Submit" /> </form> Hi, I've designed an email html form that duplicates the search options a user tried on a CT website so those details can be sent by email to specific indviduals for investigation. The form works perfectly, apart from in IE7 where the email field is not filled in but this, I believe, is diown to IE as it works perfectly when using Google Chrome. <form action="email addresses here" enctype="text/plain" name="EmailTestForm"> Rest of the form here, including check box and radio button functions and ends with <input type="submit" value="Submit"> <input type="reset" value="Cancel"> What I would also like it to do is then send the user to a Thank You page, where I can then put a link to the site's homepage (this I know how to do). I've tried many options but none of them work, even the ones on HTML sites that say "this one works". At the moment the form is using the users' own default mail client. The idea is, eventually to get the site hosting to use Perl or some other such to enable the site to submit the form. At that stage I can replace the form action with the URL and that should do the trick. However at this stage I would like the form to both submit the details by email and redirect to another page. As I'm only entering and creating page content, is there a way to do this w/o having to enter any CSS or HTML in the <head> (I don't have access to that level of the site)? Hope you can help. Many thanks Addendum: Solved the IE problem. Removed the Method="POST" element of the tag. Yay!!!!!!!!!!!!!!! Only problem now is that the form looks pants in IE. i have a question. What is the best way to redirect someone using a textarea form to redircet to a new webpage. What i want is the textarea to grab the input and add it to the end of a url. e.g. someone puts 'abcd' into the text box and presses the submit button. the button then grabs the text entered and adds it to the end of a specific predetermined url 'www.1234.com' and it redirects to 'www.1234.com/abcd' any help would be appreciated Mark Hey all, I am so close o having this form done. I am noob at HTML and PHP (all languages for that matter). I did get some help and was able to have the form work correctly, send it to my php, and send the email... The only thing I am lacking is having the page redirect. I searched the forum and found some relative information, but it seems that I have it correct? Yet, it is still not working. I assume it can be done on the HTML side or the PHP side. I see where it seems to be in the HTML...but no luck. Code: <html><body> <!-- Start Form --> <form method="post" action="sendmail.php"> <table border="0" cellspacing="0" cellpadding="0" width="235" align="center"> <tbody> <tr> <td height="3"></td></tr> <tr> <td style="font-family: Tahoma; color: #c70001; font-size: 8pt" align="center"></td></tr> <tr> <td class="form_text">Full Name :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="Name" type="text" name="Name" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Email :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="Email" type="text" name="Email" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Phone :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="Phone" type="text" name="Phone" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Zip code moving from :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="ZipFrom" type="text" name="ZipFrom" autocomplete="OFF" /></td></tr> <tr> <td class="form_text">Zip code moving to :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="ZipTo" type="text" name="ZipTo" /></td></tr> <tr> <td class="form_text">No. of bedrooms :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="NumBedrooms" type="text" name="NumBedrooms" /></td></tr> <tr> <td class="form_text">Move date :</td></tr> <tr> <td height="24" valign="top" align="left"><input id="MoveDate" type="text" name="MoveDate" /></td></tr> <tr> <td class="form_text">How did you hear about us? </td></tr> <tr> <td height="24" valign="top" align="left"><input id="Referral" type="text" name="Referral" /></td></tr> <tr> <td height="4" valign="top" align="left"></td></tr> <tr> <td valign="top" align="left"> <table border="0" cellspacing="0" cellpadding="0" width="217"> <tbody> <tr> <td height="8" valign="top" align="right"><input value="Website Contact :: Big League Movers" type="hidden" name="subject" /> <input value="beaushaw@bigleaguemovers.com" type="hidden" name="recipient" /> <input value="http://www.bigleaguemovers.com" type="hidden" name="redirect" /></td></tr> <tr> <td height="32" valign="top" align="right"><input value="submit" type="image" src="images/submit.jpg" /></td></tr></tbody></table></td></tr></tbody></table><!-- End Form --> </form> </body></html> You can also check out the page at http://www.bigleaguemovers.com/jj.testform.html Thank you Hi all I am trying to set up a custom 404 page for when a user visits a broken/error page. I have read several other pages telling me how to do it, and they all pretty much the same thing, however it isnt working. Keep getting this on the page when i enter a broken link: Not Found The requested URL /clients/index.htm was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I have set up a ht.access text document with the following code: ErrorDocument 404 error-page.html An error-page.html page has also been created. Now, am i even naming ht.access file right? Do i need any other code in the error-page.html to make it work? im going round in circles, getting nowhere, i hope someone can help!! I know how to have my page redirect to a different page. the problem i have is that I want somebody to go to my page, click on a link, which will bring them to a new page, have the new page open up an instant mesanger window to my screen name, and then redirect back to my main page. I have all of the code to open up the IM window, but I do not know how to get the browser to redirect after that has happened. as of now, this is my page i want to have the code to redirect to my main page on. Code: <html> <head> <title>WeirdClayJisKOOL//AIM-redirect</title> <style type="text/css">.sneaky { display: none; visibility: hidden; }</style> <script language="javascript"> function reDirect() { document.aim.submit() } </script> </head> <body onLoad="reDirect()"> <B>Generating AIM..</B> <a href=http://www.mymainpage.com><h1>Return to Mymainpage</h1></a> <form method="post" action="aim:goim?screenname=WeirdClayJisKOOL&message=Hey!" name="aim"> <span class="sneaky"><input type="submit" value="AIM"></span> </form> </body> </html> i'm not sure if this post belongs in this section because i don't know if i would use html, or javascript or what. if you are un-clear about what i want let me know and i will be glad to attemp to clearify. thank you! I know how to do a basic redirect, but this is a bit more tricky. We use a CMS system to do most of our Web site but that limits me to do any html in the "head" since the programmers "locked us out." I'd like to put an html file on the root of the site to do a redirect to correct a link problem. We sent out an email with the wrong link - problem is, the link goes to a dynamic page. I want to REDIRECT that page to a new static page. This has to be possible....isn't it? I want anyone clicking on the link below: http://www.macpa.org/Public/Catalog/...rseID=09191010 to be redirected to this page: http://www.macpa.org/Content/25187.aspx HELP! I cannot for the life of me figure out how to redirect to a thank you page after my form is submitted. I am using post to cgi. What is happening currently users are immediately taken to my index (main) page. I wish to redirect to a thank you page upon submitting the form. How is this accomplished? The form works properly now and I have tried searching through the forums for an answer, but end up a bit more confused than I am now. My thanks in advance. Woody (as you can probably tell I am very new to html) I have a page with a black background, and a script so that when a link is clicked the page fades out and then redirects to the link location. Since the background is black, the page fades to black before redirecting. How can I have it fade to white and then redirect? Hello, I'm a windows app programmer, but don't know too much about HTML. I use Frontpage to maintain my web site. I need to check the referring page, and if it equals what I want, then I need to redirect to another page. OK, to explain further, I've had a web site for years. Lets call it www.p.com. Yesterday, I registered two new domain names, we'll call them www.a.com and www.b.com. I had my web host simply make them pointers directly to www.p.com. So, when users type in www.a.com or www.b.com, they are automatically taken to www.p.com. This is OK...but, it is causing some issues. What I'd like to do is, when the page (www.p.com) is loaded, I want the page to check the page the user came from, such as www.a.com. If it was www.a.com or www.b.com, then I want to re-load www.p.com, so that the page is refreshed so that it actually was www.p.com and not a re-direct from www.a.com. Can I do this? and how can this be done? Many thanks in advance! domls Hello All, I have recently founded a non-profit performing arts company (www.the roarkfaction.org). We'll be accepting members for $60 a year, payable at once or in monthly increments of $5.00. I've written this HTML code, which, paired with a simple PHP script, sends me an e-mail with details entered: <form method="post" name="myemailform" action="FormToEmail.php"> <center> <p> <label>Your Full Name:</label> <input name="name" type="text" id="SNN" size="50"><br /> <label>E-Mail Address:</label> <input name="e-mail" type="text" id="e-mail" size="51"><br /> <label>Payment Preference:</label> <input type="checkbox" name="yearly" id="yearly" /> <label for="yearly">$60 Once for One Year</label> <input type="checkbox" name="monthly" id="mointhly" /> <label for="monthly">$5 a Month, For One Year</label> <br /> <label for="paymeth">Payment Method</label> <select name="paymeth" id="paymeth"> <option value="1">Please Select One</option> <option value="cash">Cash</option> <option value="check">Check</option> <option value="cc">Credit Card</option> <option value="mo">Money Order</option> <option value="pp">PayPal</option> </select> <br /> <br /><br /> <center>Click Below to Submit Your Request</center> <center><input type="submit" name="submit" id="submit" value="Submit"> </center></form> What I'd like to do, though, is have it so if the user chooses "Credit Card" or "Paypal", upon clicking submit the e-mail is still generated, but a _blank is opened to our Paypal page. I have no idea how to do this. Any suggestions would be greatly appreciated. Regards, Samuel |