Im trying to implement an update form but when I click on the submit button, I have constantly this error : TypeError: Cannot read property '1' of undefined Here is my controller : $scope.pets = []; $http.get(baseApiUrl + '/pets'). success(function (
I'm trying to validate a phone number input field in a form. I'm using intl-tel-input (which is great, BTW) to get the extension and full number, then pass the value to a hidden field so I can send the form data to the server. This is the displayed f
I am trying to use the variable rand from the Rnd function within the BtnRed_Click function. The return does not do anything. And if I change the parameters for the Rnd function I get an error. Here's my code. namespace ColourPick_EDP2 { public parti
I'm using Django-Angular and trying to post a form and obtain data in back-end..I'm able to achieve this but found that the page is reloading while saving the form. How can we achieve the same without page render? forms.py def home(request): if 'appl
The following uses Form buttons to mark photographs as different qualities. If Quality 1 or Quality 2 or chosen the php code should fire. However if "delete" is chosen instead of assigning a quality I would like an "Are you sure" valid
I am making an HTML form with multiple inputs. I am using mainly select inputs (as below), <select> <option></option> <option></option> </select> and also some radio buttons. I each input represents a different category
I am currently applying for an Internship Internship Link One of the things that I noticed right away is that you click on upload cover letter or paste cover letter, you're redirected to the home page of the job invite site Job Invite and sadly you c
I have a website with 4 pages: Home Page , Sale Page , Rent Page and Contact Us Page. On the Home Page is a Search Form that need to Search the Options they select. It is a Property website so if they click on the search button they need to be taken
I'm having a problem with the HTML tag <input type="file" /> in Google Chrome. The 'Browse' button appears on the page as expected, but when I click it in order to select a file, the pop-up dialog window from the browser doesn't open at al
I'm posting from the HTML code shown in this jsfiddle to the PHP page for which the code is below. The issue is that the array $_POST['selectedpost'] isn't being received. That's the array containing which checkboxes were ticked. In the js fiddle I a
I wanted to validate a HTML text box using Jquery...in that text box i wanted to accept only numbers, if the length is 6-it must contain only numiricals and if legth is 7 it must conain alphabet X at the beginning. <input type="text" class=&q
So I have these two pages: pageOne.php and pageTwo.php.The form is in pageOne.php: <form method="post" action="pageTwo.php"> .... </form> and doing all the data collection-validation-insertion and sending out mails in pageT
I'd like to change the font size into an <input type="text" size="10> dynamically to fill the box. Here are some examples: With less chars: With more chars: Is it possible?I know JQuery and JavaScript weren't mentioned or tagged, but
I have a form which has two hidden parameters that I want to pass to the function LoadView <form name="frm1" action="http://localhost/tddd27/index.php/AddProduct/LoadView"> <input type="text" name="ID" valu
I'm a sophomore in high school and I'm taking web design. I taught myself HTML and basic CSS over the summer. This was beneficial because my web deign teacher knows nothing about HTML, CSS, or JavaScript. We have to create a personal website and she
I am trying to create a simple quiz based on a tutorial I found. http://css-tricks.com/building-a-simple-quiz/ Unfortunately, this is making me spin my wheels and the answer is probably pretty simple. I got this working perfectly. I would like to cha
I have a database of schools, I would like to make it so that when you search the database for existing data, it outputs right next the the input box. So without going to a new page. Here's what a have: <form action=" " method="post"
I have two input fields and whenever I open my page, it displays errors since at the start user has not entered any input to any of the field (& the errors are displayed because the user input is used in sql queries to retrieve data). I just want to
Background: I'm making a facebook wall-alike page, which will have many posts and you should be able to comment every post. And these textboxes, where you post type your comment in, should resize as in Facebook. I have this code so far. It works but
I am doing a form that displays the questions and answers in a database and now I need to save the answers marked by the user. I need a name for each RadioButton or select dropdown. PROBLEM: I combine php and html and i don't know how to pass the rad
Could somebody tell me why this isn't adding the values to the database. The form runs fine and doesn't return any errors. private void button1_Click(object sender, EventArgs e) { SqlConnection connection = new SqlConnection(); SqlCommand command = n
I have an ajax login view. I can log in ok but when I log in incorrectly my json returns: {"errors": {}} My view is as follows: def ajaxlogin(request): from forms import LoginForm form = LoginForm(request.POST) logged_in = False username = reque
I have a form on my page, with one text input and one submit input, that sends info to a php script. Users can submit the form either by pressing 'enter' on their keyboard, or clicking the submit button. In IE9 and ever other browser, the user can hi
When you have many inputs (select/textarea/input), it will look real messy when you include isset() For example: <input id="firstname" type="text" name="firstname" value="<?php echo (isset($_POST['firstname']) ? $_
I must submit two forms at once and I don't want javascript. So I think I can post the form to myself, do my work and then post it on to the third-party payment provider. This is to make the order appear in our datastore. The manual says how to submi
I'm trying to build a custom search form using PHP and I'm looking for a way to append a parameter to the end of the URL (based on a selection from a selection box), upon form submission. Say I have a selection box with these values: Red Blue Green I
I am trying to create a list of links that would make up the elements of a form (will be used as a search feature). Basically, each link in the list represents a search category, so as users click on a link, their search results will be filtered. I w
I have a form with an input which is optionnal but I can't valid the form if the user don't fill it because it's a foreign key and Doctrine shows me an error. SQLSTATE[HY000]: General error: 1452 Cannot add or update a child row: a foreign key constr
I'm trying to figure out a way to read GET method information from a form with javascript. Our IT department has our servers on lockdown, and as the web team we can only use javascript to accomplish our tasks. I'd use PHP if I could, but I can't. Wha
How do I pass a parameter from a page's useBean in JSP to a servlet in Java? I have some data in a form that gets passed no problem with a submit button, but no way to send anything else. Please help? Here is my code: <input name = "deleteGameButt