99 Topics
|
|
I'm developing a web app in which I have a file upload option. The thing is, my file input is hidden, and instead, a textbox and a button are used, in order to style the input, copy the file input's value and allowing the user write a link address into … |
|
Hi friends, I dont have clear idea about drupal forms. Please guide me to learn it. |
|
Hi! I would just like to know if its possible to give an linked image the ability to send the form instead of a submit button? Like in the example below: [CODE] <form method="post" action="Search.php"> <table id="search"> <tr> <td> Search: <input type="text" name="search" id="search" placeholder="Search for friends"/><td><a href="Search.php" action="Search.php"><img src="graphics/search.png" … |
|
I created a form for my application and I am having trouble deciding where to place the submit button. Here is a picture of the form with my current submit button: [ATTACH]22108[/ATTACH] Here is a picture of the form without the submit button: [ATTACH]22109[/ATTACH] What do you think? Where is … |
|
I am trying to set up a form for potential students to give their information for a language academay. When I tested the form with <input type="text" name"Nombre"> type of fields everything went fine. As soon as I tried to introduced drop down menus or typ radio elements the data … |
|
I google'd myself silly, I can't find tutorials for this. I hope someone could lend me a hand. I'll try to make this simple. I have a PHP & MySQL driven site. I have a form for adding new content. The form has a set of check box options that … |
|
Hi. I'm trying to make a script which submits the form without refreshing the page. Also, I'd like to have it submit onkeyup. I can't figure out how to do that. Can anyone help me? My code is [CODE] <script type="text/javascript"> $(document).ready(function(){ var $form = $( '#myform' ), url = … |
|
I am trying to create a movie review website, the majority of my site is coming together. I do not know how to create a script that will display user reviews on the website. Here is what I have so far for the form, how do I display user reviews … |
|
This is what I have in a page: [CODE=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Sandbox</title> <style type="text/css"> table.twocPC { width : 612px; border-width: 1px; border-spacing: 1px; border-style: solid; border-color: black; border-collapse: separate; background-color: white; vertical-align: middle; } table.twocPC td{ border-width: 1px; padding: 0px; border-style: solid; … |
|
Hello! I've got the code below which takes data from my db and displays it to the page listing reports submitted by the user. At the end of each row I have button that is supposed to launch a PDF generator so that the user can view their report. I … |
|
I don't know if this is possible, but I want to submit information using POST with a link. I know I can use GET, and I know I can use a form with a hidden value and submit it with a link, but I don't want either of those. I … |
|
I am making standard login panel in JSP, and it looks like this: Please enter user name and password: Username: [__________] Password: [__________] [submit] [reset] Where underlines between brackets are edit boxes, and "submit" and "reset" are buttons. It corresponds with this code: [CODE] <form action="main.jsp" method="POST" name="form"> Użytkownik: <input … |
|
Alright, so basic story, is a website, with an application form, and what im trying to do, is when the user presses the "submit" button, i get an email with all of the information they entered into the field, i *almost* had it working, almost being, when pressing the "submit" … |
|
I have a form that takes a zipcode as input and displays a google map on the same page using ajax. If I submit the form using a submit button, it works fine. However, I would like to auto submit the form after 5 characters are entered. This code works … |
|
Hello, I am new to JavaScript, I have to make a pizza webpage for my assignment. I am done the HTML part and PHP part. I have a form and when the user clicks submit it calls the check() method in the JavaScript. Even if the fields are empty, the … |
|
I want to validate my form so i call validateForm() using onsubmit of the form. It displays the alert but doesn't cancel the submit. What could be the problem? [CODE] function validateForm() { var x=document.forms["contactform"]["name"].value; if (x==null || x=="" || x=="Name") { alert("First name must be filled out"); return false; … |
|
Hello all, I was wondering how to do this: [LIST=1] [*]Enter values into and submit a form on site B from site A (using Javascript) [*]Load the resulting url into the current site (site A) (using Javascript) [/LIST] I have no idea if this is possible with Javascript, but any … |
|
i am submitting a form in javascript and i want it to submit on key press submit, but it wont work. here is my code: [CODE] <script type='text/javascript'> function login(evt){ if (evt){var keyCode = evt.which ? evt.which : evt.keyCode;}else{keyCode='';} if ((evt == '')||(keyCode == 13)){ if (document.forms["login"].email.value=='') { alert('You must … |
|
i am using the following code to submit a form: [CODE] <script> function marktaskcomplete(){ document.forms["markcomplete"].submit(); } </script> <? if ($_POST['markcompletevalue']=='yes'){ include "dbconnect.php"; $taskid=$_POST['taskid']; $query="UPDATE tasks SET status='0' WHERE uid='$id' AND id='$taskid'"; $result=mysql_query($query); if ($result){ echo "<script>location.href='?goto=taskmanager'</script>"; }else{ echo"fail"; } mysql_close; } ?> [/CODE] and when i try to submit more … |
|
Hi, Im trying to click a button on [url]http://www.threatexpert.com/submit.aspx[/url] but my code does not want to fill it in. It fails are the [CODE]Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text)[/CODE] [CODE]Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") If Form2.WebBrowser1.Document.GetElementById("File").GetAttribute("value").ToString = vbNullString Then Form2.WebBrowser1.Document.GetElementById("File").InvokeMember("click") Form2.WebBrowser1.Document.GetElementById("txtEmail").SetAttribute("value", TextBox1.Text) Else WebBrowser1.Navigate("javascript: WebForm_DoPostBackWithOptions(btnSubmit") End If[/CODE] What is wrong with my code Cheers |
|
Hi, I am using a prototype PayPal payment system which does not ever need to properly work, but I am having trouble writing to the database as well as redirecting to the PayPal payment page at the same time. Here is the form: [code=php] echo '<form name="purchase" target="_blank" action="https://www.paypal.com/cgi-bin/webscr" method="post">'; … |
|
Hi, I'm having trouble submitting a form using a link. I have a table that lists a bunch of data, and I want to allow users to edit the data directly in the table. The user can click the "EDIT" link, which makes jQuery replace the appropriate <td> html with … |
|
I am not getting the difference between the [B][COLOR="Red"]action and onsubmit[/COLOR][/B] tags of the form in html. [CODE] <form method=GET action="xyz.php" onsubmit="return xyz()"> [/CODE] my problem is [B][COLOR="Red"]"which will be called when"[/COLOR][/B] and [B]limitations of each tag[/B].Kindly Help....:( |
|
Ok, so I used to be very good in HTML, PHP, and JS, but it's been a long time since I used it. been trying to make just a simple order form for a friends business. Though I wanted it to do server side validation and emailing... But it doesn't … |
|
Hi there. I am creating a social networking website and I am having an issue when posting messages on a users profile. The message posts correctly and displays correctly too but when I refresh the page a duplicate of the last message is submitted. I do not want to prevent … |
|
i am writing a game in JavaScript. I don't know any php so i need help making a page were people can submit their game scores. Thank you. |
|
Hi, I´ve found a code that is exactly what I need for a POS system based on web language that I am developing. What it does is send as soon as a pop-up window is activated, the information that appears (shopping items, quantities, etc.) to my email address (so I … |
|
I have a form which will have to call two different php scripts based on the click of 2 submit buttons. Below is a sample of what I have so far [CODE] <?php echo'<form name="form1" method="post">'; echo '<div>'; echo '<input type="submit" name="submit1" id="submit1" value="Create">'; echo '</div>'."\n"; echo '<div>'; echo '<input … |
|
Hi, i'm new about PHP, and i try to insert the PHP Upload script in the php mail, but somehow i don't get it to work! :) [B]this actually goes to header:[/B] [CODE]<?php if(isset($_POST['submit'])) { $errors = array(); $allowed_filetypes = array('.pdf','.zip','.rar'); $max_filesize = 52428800; $upload_path = './uploads_SS/'; $filename = $_FILES['userfile']['name']; … |
|
I am trying to learn PHP. I have set up a database, a table, and made a form that allows me to add new rows to the table when the submit button is clicked. The problem is that the form also submits any time the page is loaded or refreshed, … |
The End.