HTML - Collecting Data
I use Expression Web 3 and would like to know how to collect and save data entered on a screen. Code sample?
Similar TutorialsHi - I'd like my customers to be able to submit useful weblinks to our site so that they can be shared and commented on by others. In Firefox, a quick way of doing this is to have them drag the weblink in their Bookmarks and drop it into a textfield within a form. They can then press submit on the form. However, this doesn't work in Internet Explorer - the user is simply redirected to the url in the bookmark. Is there a smarter way of doing this? I'm can use ASP if there is not easy HTML solution. Hi Experts, I am designing a webpage where based on the year selection the associated years webtable needs to be displayed in the webpage. Pls give som suggestions and if possible the code on to how to code this using HTML and Jav Script. I know I have to write afunction and then call the fn based on the input.but need your help on this. Thanks, Bsquare So I've got a form with some input text. In addition to the data in the input text I want to send some other data that has already been predetermined on initial page load. How would I declare the other data within the form element? Thanks Hi everybody! I have a jsp page with a form and a table. My aim is that when i press the submit button of the form,collect the data and fill the table with it. I am working with J2EE. I have already collected the data in a Java class,but I dont know how to introduce this data into the table. Best Regards! I have been using my site for some time now and it carries the image name over when you clicked on purchasing the print. It carries it still, but when you submit the form, the image name isnt there and the form errors because the field is blank. Here is the site: www.sthompsonphoto.com I cant seem to figure out why it disappears when you click Submit? Any help would be great! I have a page here that add rows with 3 textbox after pressing the button. The added textbox have all unique name. My question is how can I access the data on the added textbox in the next page if I don't know how many rows will be added? <script language="javascript"> function addRow(){ var newRow = document.getElementById("mytable").insertRow(document.getElementById("mytable").rows.length); var num = ((document.getElementById("mytable").rows.length - 1) * 3) - 1; //add 3 cells (<td>) to the new row and set the innerHTML to contain text boxes var oCell = newRow.insertCell(0); oCell.height = '25'; oCell.vAlign = 'middle'; oCell.align = 'center'; oCell.style.background = '#EEEEEE'; oCell.innerHTML = "<input type='text' name='textfield"+(num)+"' class='bodytext' size='20' align='center'>"; oCell = newRow.insertCell(1); oCell.height = '25'; oCell.vAlign = 'middle'; oCell.align = 'center'; oCell.style.background = '#EEEEEE'; oCell.innerHTML = "<input type='text' name='textfield"+(num + 1)+"' class='bodytext' size='35' align='center'>"; oCell = newRow.insertCell(2); oCell.height = '25'; oCell.vAlign = 'middle'; oCell.align = 'center'; oCell.style.background = '#EEEEEE'; oCell.innerHTML = "<input type='text' name='textfield"+(num + 2)+"' class='bodytext' size='3' align='center'>"; } </script> <table width="100%" border="0" cellpadding="4" cellspacing="1" class="bodytext" id="mytable"> <tr> <td height="25" align="center" valign="middle" bgcolor="#dddddd" class="bodybold">Part #</td> <td height="25" align="center" valign="middle" bgcolor="#dddddd" class="bodybold">Description</td> <td height="25" align="center" valign="middle" bgcolor="#dddddd" class="bodybold">Qty</td> </tr> <tr> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield2" type="text" class="bodytext" size="20" ></td> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield3" type="text" class="bodytext" size="35"></td> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield4" type="text" class="bodytext" size="3"></td> </tr> <tr> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield5" type="text" class="bodytext" size="20"></td> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield6" type="text" class="bodytext" size="35"></td> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield7" type="text" class="bodytext" size="3"></td> </tr> <tr> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield8" type="text" class="bodytext" size="20"></td> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield9" type="text" class="bodytext" size="35"></td> <td height="25" align="center" valign="middle" bgcolor="#EEEEEE"><input name="textfield10" type="text" class="bodytext" size="3"></td> </tr> </table> <a href="javascript:addRow();" >Add Order</a> Hello all, Can someone helps me with the following idea: I've a page with input boxes on it,and beside each input box there is a link that will display a small help text, and that help text will be extracted from the xml file according to the id of the text box, so , I need more help on that , How could i extract data in HTML page from an xml page? Thanks how do i put HTML URL links in XML DATA ISLAND? from what i know you can only put text in XML data island. example Code: <data>Here is some data here</data> and in the tables... Code: <td width="200"><div xmldi="xmlDI" xmlnode="data"></div></font> but my clients wants to put html links in the <data> tag , how can it be done , eg Code: <data> <a href="music.html">Music here</a> </data> when he tried to do this , the whole page turns blank. please enlighten. thanks pros. Hi everyone I'm currently told to design a html page that updates live(Constantly changing) data, I wonder if it is possible through html coding. Lets say the data updates every 2 seconds, as in the page changes the data without me manually refreshing the page. Is it even possible in the first place? Sorry, but I'm kinda new to html code writing and all. Sorry haha. Hi there! I've been googleing for this for a while now, but I couldn't find any solution. My problem is simple. I want my forms to be in a way that browsers 'know' that the data being typed into the form is to be sent with the Unicode UTF-8 encoding. So that every data POSTed back to my server is encoded using UTF-8. How can I do that? Thanks in advance, AvoC. How do you extract the efix data from a jpg file and include it on a web page so the date and time a plhotograph is taken can be displayed. Here is an example--http://www.onthesnow.com/CO/482/cam3.html Hi pros , please help me out. I did a xml data in the <body> section , where my client can edit the <body> section's description tags to edit the html files without going digging through all the codes hidden in the tables. It works in Mozilla Firefox, but this code appear to be Blank in Internet Explorer , please help. My code in the <head> section: HTML Code: <body> <xml id="xmlDI"> <description> <b>Photo Gallery</b> <br> <br> A collection of artistes' photos<br><br> </description> <description> <b>Video Gallery</b> <br> <br> A collection of artistes' videos<br><br> </description> </body> and the codes in the tables below. HTML Code: <tr> <td width="200"><font color="#e9e9e9"><div xmldi="xmlDI" xmlnode="description"></div></font><u><a href="photos.html"><font color="#e9e9e9">Click here to enter</font></a></u> </td> ANYONE? please help me out. tons of sleepless nights , but cant make it work. How can find what string has been submitted from the HTML form when i click on submit button? So I'm using CSS and the same header is used on every page. It includes all meta info, nav bar, company logo, etc. I read at the SEO opt sites that Meta data should be specific for each page to improve SEO (search engine optimization - google ratings). Those two seem to be at odds with each other: CSS good, but use different META info for every page. for example this is my code for an average page: Code: <?php require 'head01.html'; // call HTML headers, same for all require 'center11.html'; // call center code - another page require 'footer01.html'; // call footer code - same for all ?> CenterXX differs for every page but not Header01.html which has my META data. help. kc Hi, I am new to this forum. As all other, I have registered because I need help: I am currently working on an automatic news system (if you can call that...), where I write my news story in an .ini file. What I need help with is that I want my page to get the string from the .ini file and "publish" it. If there's an easier/alternative method, please post ~Mikkelet I am new to html programming so i am just wondering if this is at all possible to do in HTML i know in Visual Basic programming you could validate the data the user enters in text fields like IsNumeric etc. to make sure the user only entered in numeric for certain fields. I want to know if there is a way i can do this in HTML I have seen some example of people using JavaScript to do this type of data validation but i am wondering if there is a way to do it without the help of javascript ??? Hello all! I've been lurking in these forums for a good while as I've recently started dabbling in web design. As such, I find myself stumped. Despite my relatively thorough search on Google I've yet to find anything that points me in the right direction. I assume I'm simply not using the right terminology in my searches. Hopefully the community here can help me out. In short I have a chat applet that I'm trying to get a "Report Member" function working in. Users can right click on a member and select "Report Member". From there I have a page on my site called Report.htm and that particular URL. The chat applet provides information on the end of that URL. Here is an example URL: Code: http://www.siteurl.com/report.htm?username=JohnDoe&roomname=Main+Room&showuser=2264826&uid=2264826&srcuid=2264826&srcusername=JaneDoe Essentially, JaneDoe is reporting JohnDoe for who knows what. When the report is made they're sent to the placeholder report page with all the details at the end of the URL. If possible, I'd like the Report.htm page to have a form in it where the information for the form is prefilled (and uneditable) from the information provided by the URL. Essentially the form would roughly look like the following: Username of Member: JohnDoe Your Username: JaneDoe Room: Main Room Report: (This would be the only editable section) After filling out the report they'd hit submit and it'd get emailed to the moderating staff. Is this something handled on the server side of things? If so I've potentially posted this in the wrong subforum, but I assumed it was something that could be done via form tags in HTML (though I do know some script would be needed for the actual submission of the form). My server uses PHP, if that information is useful. With all that said, is this possible? If so, what can help get me started in learning how to do this? I've spent a good deal of time looking around on Google but nothing seems to be quite what I want or, more likely, I'm simply not using the right search terms. Any help would be greatly appreciated! Hi guys, just a quick question regarding meta-data and metatags. After a recent overhaul of our google adwords campaign its come to light new search options inside of adwords regarding things like; search - broad search [search] - exact match "search" - phrase match -search - exluding search etc... Are meta-tags sensitive to this, and if so would this have an effect on search engine visability levels... now I already know some search engines do not use Meta-data... but for the others that do, it's most likely worth doing... Any help is much apprciated. Ben Hi, I am writing a html web page to retrieve the xml content into three tables using xml data island. There are 3 xml files: <xml id="file1" src="xxx.xml"></xml> <xml id="file2" src="yyy.xml"></xml> <xml id="file3" src="zzz.xml"></xml> In the html file, I would like to let the page refresh automatically and retrieve the xml contents because the xml file contents might keep changing all the time. I've tried to use meta refresh tag to do this. However, it seems that the xml content is cached and it displays the old content even if the xml file content is changed. How can I solve this? Hey all, This is probably a stupid question, but it's driving me nuts - I have a simple form with 2x file uploads on it, and when the user clicks a button a PHP script is run. This scrip is picked up by checking the global $_POST variable for 'upload'. This works fine and my PHP script does the upload when I only select one file (using either one), but when both are filled in for some reason the global $_POST variable is empty, so my script will not run. Before looking down the PHP route I'm wondering if everything is ok with my form, or if there is some error that I am missing that is causing this problem? Any help is greatly appciated. Thanks. Code: <form action="" method="post" name="client-balances-selection" enctype="multipart/form-data"> <div id="current-balances"> <h3>Current client balances</h3> <input type="file" name="current_balances" class="file_upload" /> </div> <div id="past-balances"> <h3>Past client balances</h3> <input type="file" name="past_balances" class="file_upload" /> </div> <input type="submit" name="upload" class="button-primary" value=<?php _e('Compare'); ?> /> <input type="submit" name="delete" class="button-delete" value=<?php _e('Delete old files'); ?> /> </form> |