HTML - Web Input Form Challenge
Hi...I'm a novice and trying to develop my website...having a challenge. Here's the issue, and hope that someone more advanced in this might have an idea for me:
I've got an affiliate program, and want to give my affiliates some html code to add to their current website that will allow their customers to put their name and email into it which will opt them in to a newsletter that I've got. When they hit "submit" I not only want it to submit their info to my database (which I'm using through 1shoppingcart.com) I want it to open a webpage with the affiliate link to the sales page that I've got. Currently I've got the HTML for them to just sign up for a newsletter, but don't know how to adapt it to open a new window for the affiliates link at the same time. If you've got ANY ideas or want more info on what I'm working with, either post it, or you can contact me offline at jasonsimpson cox net or im me on aim at siweb63 or yahoo at givemeyourhome Thanks a ton!! Jason Similar TutorialsHi Everyone, I am at a loss to explain why some of my form submission markup works fine, yet slightly modified markup does not! The markup that works ok with my website is as follows: Code: <td valign="top" background="../images/nav/left_nav_top.gif" height="800" width="131"><img src="../images/nav/invisible_pixel.gif" width="131" height="1" border="0"> <img src="../images/home/left%20nave_graphic.gif" width="131" height="173"> <form name="searchform" action="store_searchresults.asp?strCategory=&strSubCategory=&strThirdCategory" method="post" onSubmit="MM_validateForm('strKeyword','','R');return document.MM_returnValue"> <IMG SRC="../images/nav/left_nav_search.gif" WIDTH=127 HEIGHT=12 ALT="" BORDER=0> <INPUT TYPE="HIDDEN" NAME="strAction" value="search"> <input style="background-color: #FFFFFF;" type="text" name="strKeyword" size="11"> <input type="image" border="0" name="imageField" src="../images/nav/top_search_gob.gif" width="24" height="22"></form></td> However the following markup on the same page does not work consistenty between different browser version. It works fine in IE but it does not work in Firefox. Firefox presents the message "Please enter a keyword" and refuses to submit the form. Code: <form name="searchform" action="store_searchresults.asp?strCategory=&strSubCategory=&strThirdCategory" method="post" onSubmit="MM_validateForm('strKeyword','','R');return document.MM_returnValue"> <input type="hidden" name="strAction" value="search"> <input type="hidden" name="strKeyword" value="LV4"> <input type="image" border="0" name="imageField" src="../images/marquee/LV4403B4.jpg" width="113" height="98"> </form> It is as though Firefox cannot see the "strKeyword" attribute. However IE has not problem with it. Any help with this will be greatly appreciated, as I am at a loss... Thanks for your time Regards David Hi all, I have a simple newsletter form, so just the email field and a submit, what I would like to do is to send this data to a larger subscriber form, so one that has name, email (with the data previously entered already added), list to subscribe to etc. Can this be done? Thanks I'm trying to post something on a site that is blocking almost all HTML tags. As far as I know, the only tags that aren't being blocked are P, BR, A, IMG, U, B and a few other basic ones. I'm trying to post an image tag, but the image is generated from a PHP script. The site will not let me use the IMG tag with .PHP at the end of the image name. The SRC also has to end in .GIF or .JPG and cannot contain the ? anywhere in the URL, which means I can't use http://www.mydomain.com/script.php?a=image.gif I can't use SPAN or DIV or anything to do with tables or forms. I can use the P tag, but I can't use the STYLE attribute so I can't assign a background image using style sheets. So my question is, does anyone else know any way using HTML that I can include a background image or any other way to modify the URL of the IMG SRC so it doesn't use the question mark? Or is there any other way besides the STYLE attribute or the SCRIPT tag to include style sheets? Hey everyone, I designed a site for a client of mine. He developed a weather radar program and he wants to sell the idea to various news organizations. The site that I'm designing is for WCBS 880 radio. Here is the test page - http://zoomradar.com/wcbs880 Anywho, this is the problem I'm having. I have two iframes on the page. One for the actual map and one for the weather forecast which we are using from the national weather service site (don't worry, we are allowed too). Here is the problem.... The forecast iframe is causing a bend/distortion in the radar map iframe about 3/4 of the way down. My client says you can't miss it and he has sent me pictures too because I can't see it myself. He says that he sees it on windows computers using the latest firefox. I'm wondering if any of you can verify this and maybe guide me towards a solution because I can't seem to figure one out. He says that the bend is in the shape of the iframe almost like it is hovering over the radar map but not really creating a mirror image??? Not sure if this makes sense to any of you. Hopefully you see what he's seeing. Any help would be greatly appreciated because I'm getting to the bottom of the barrel here. Thank you very much in advance - Dan My High School FBLA chapter is participating in a web design competition. The task was to create an online store that would sell T-shirts. We are currently using "Mal's E-commerce" shopping cart tool. So, this is my problem. I have this form: <FORM METHOD="POST" ACTION="http://ww11.aitsafe.com/cf/add.cfm" target="_self" > <INPUT TYPE="HIDDEN" NAME="userid" VALUE="D745330" /> <SELECT NAME="product"> <OPTION VALUE="Red shirt w/ logo" />Red <OPTION VALUE="Green shirt w/ logo" />Green <OPTION VALUE="Blue shirt w/ logo" />Blue </SELECT> <INPUT TYPE="HIDDEN" NAME="price" VALUE="19.95" /> <input type="submit" name="post" class="submit" value="Submit" /> </FORM> This form will submit information to mal's e-commerce, which will then generate a shopping cart preview page. (If you are confused, just put this coding into a new webpage and preview it.) All of this works fine, but instead of opening this 'shopping cart preview page' in the active window, I would like for it to open in a pop up window, with a controlled height and width, etc. I am not a form expert, but this problem has really got me.. I have tried google searching, but I have yet to find any useful suggestions. Is it even possible? I challenge all web designers to find a solution to this problem. I appreciate everyones help in advance. i am trying to change the layout of my ecwid stores product description currently it looks like this i want to move the description from its current position to above the sku # on the right. like this i have been able to show the change in the chrome developer tool but i can not figure out how to implement it so that the rule works correctly for every product page. the site is www.thriftybynature.weebly.com if you would like to take a look at the site live with the developer tool. im really hoping someone can help me with this i have been trying to implement this change for days with no success. ps. im using ecwids product browser within weeblys site. Hi Ive done this before but cant remember now. I need to pass a search query but also include another variable in the url but cant remember how to include the extra variable. So the action is SearchResults.php The query is Query And I need to include &siteID=0 So the full url would be SearchResults.php&Query=foobar&siteID=0 My form is like so <form method="get" action="SearchResults.php"> <fieldset> <input type="text" id="seach-text" name="Query" value="" /> <input type="submit" id="search-submit" value="Search" /> </fieldset> </form> To recap how do I include &siteID=0 Thanks! how i do. I have created a form and I want that every time you click the button vote on the text join a number more <form name="Vote"> <input type="text" value="" name="sky"> <input type="hidden" value="1" name="blue"> <input type="button" value="Vote" onClick="document.Vote.sky.value =(document.Vote.blue.value)"> </form> Thanks How increase the value? Hi - I am fairly new to coding but really enjoying it I am trying to create a background image effect as seen he http://www.prada.com/ and http://news.jam-factory.com/ - The background image fits to the window, without distorting the image, and bits are hidden when needed Here is my attempt: http://www.piersart.co.uk/random - but when the window is tall and thin, a black strip appears at the bottom. What am I doing wrong? I don't quite understand how to use overflow, if that is something I should be using. Do I have to use Javascript (to get window dimensions, or resize the image)? If so, how? Many thanks in advance Hey i'm wrting a simple iphone app (http://geo877.wsnw.net it will kinda run on Firefox and safari. NOT IE) I have a page where the user inputs some data using a form. I was trying to write a script to do the whole flick through page thing (where a users just drags the screen to change page). Anyway, the point is when i put the form into a div tag with the properties of position:relative; you can't click on any of the dropdown boxes or text input, i've read other people have had this problem but it was a pay for answer forum...The same problem happens when i put it in a table edit: It also causes the div or table to be above everything Thanks! <style> .dragme{position:relative;} </style> <div class="dragme"> <table id='mpc' style='display:none;' ><tr><td> <form action="index.php" onsubmit="return validate_form(this);" method="post"> <table> <tr> <td>Amount</td> <td><input type="text" name="amo" size="9" ; /></td> </tr> <tr> <td>Unit</td> <td><select name="unit"> <option value="Oz">Oz</option> <option value="Gram(s)">Grams</option> </select></td> </tr> <tr> <td>Metal</td> <td><select name="metal"> <option value="goldS">Gold Spot Price</option> <option value="silverS">Silver Spot Price</option> <option value="platS">Platinum Spot Price</option> <option value="fineGold">Fine Gold Price</option> </select></td> </tr> </table><p> <center><input type="submit" value="Calculate"/></center> </form> </div> I've set my form up like this: <form action="http://www.***.co.uk/shop/index.php?route=product/search" method="get"> <input type="text" name="filter_name" /> </form> but when I search the path returns index.php?filter_name=*** instead of index.php?route=product/search&filter_name=** any ideas? Thanks Why is this not working? (when i search hiscores it works, but not Google) Quote: <html> <head> <title></title> <script type="text/javascript"> function action( inStr ){ var a = "http://hiscore.runescape.com/hiscorepersonal.ws?user1="; var b = "http://www.google.com/search?q="; var c = document.sform; if( inStr == "h" ){ c.action = a; }else if( inStr == "g" ){ c.action = b; }else{ alert("I don't know where you want to go!!!"); } c.submit(); return true; } </script> </head> <body> <form method="get" action="#" target="_blank" name="sform"> <input name="user1" size="12" maxlength="12" value="" style="font-size: 10px;" type="text"> </form> <br> <input type="button" name="btnH" value="Hiscores" style="font-size: 10px;" onclick="action('h');"> <input type="button" name="btnG" value="Google" style="font-size:10px" onclick="action('g');"> </body> </html> Hi: I would like the freedom to position <input> elements of a form to specific places on my page. What is the proper way to do that please ?? Thanks, -Mel Smith This is probably the simplest thing in the world but I can't figure out what to do to make it happen... I need to have an "enter zip code" box with submit button, that opens a link in a new window...where the zip code entered is passed into the link... So, I enter my zip code: 28052 and get this link in a new window when pressing submit: thesiteaddresshere.com/ login/ minisearchpost.cfm? something=1&zipcode=28052 &signup=ouraffiliatecode Thanks in advance for any and all help! David T. Hello, Does anyone know how to create an input form that saves text to a text file? i.e. a text box with a submit button. Thanks. I'm making a form that contains three places for the user to enter text. The first two are for taking only one line of text, but the third is a bigger input for taking in multiple paragraphs of text. The trouble is, I can't get this third one to wrap the text! Is there a way to turn word wrapping on for an input bar? Or should I be using a different form element? I installed the simple points system to my phpbb3 forum Im trying too add to that mod and put a box in the viewtopic page so i can edit members points easily. I tried getting the code from the acp and putting that in the viewtopic file but no luck. The box comes up but when i type a amount and click submit it just seems to refresh the page and doesnt change the points amount. Heres a code i made up from the ACP: HTML Code: <form id="user_profile" method="post" action="{U_ACTION}"> <input id="points" type="text" name="points" value="{POINTS}" /> <input class="button1" type="submit" name="update" value="{L_SUBMIT}" /></form> Heres the mod link: http://www.phpbb.com/community/viewt...?f=70&t=543803 I hope you can understand and help . I just want a amount box and submit button below the avatar in the viewtopic file so when i type a amount in the box and click submit the amount of points will change. I have tried the mod creator and the phpbb community for help but ive got nothing that helps. Thanks in advanced. How do I prefill an input field in a form? I don't mean "value=hello" I mean have a light gray text inside that says "enter your first name" and then when the user starts typing that text disappears. I thought there was an html tag that did this (or a form tag like type=""). I hope it doesn't require CSS... thanks! Hi Guys I have a text input field in a form that has data in it from a previous entries. Is there something i can do that ensures the field is empty when the form is pulled up? Thanks everyone Hello Does anyone knows since when (or which html version) it is allowed to define form input names as arrays such as: ex: <form ...> <input name="MyArray[email]" /> <input name="MyArray[phone]" /> </form> |