Questions tagged as 'forms'

2
answers

POST method does not take FORM value

I'm making a contact form on a website, but the PHP method does not get the value of input in form , I already searched the internet and could not find anyone with the same problem. And email is being sent, the value of the $s...
asked by 31.07.2015 / 13:32
2
answers

How to include an action in the button to register with HTML5?

I have the following code: <form action="paginas/login.php"> <p id="log">Usuário: </p> <input id="cmpG" type="text" name="usuario"/> <p id="log">Senha: </p> <input id="cmpG" type="password" name="...
asked by 06.09.2015 / 02:41
2
answers

Confirm before submitting javascript function

When I submit a form, through onsubmit(checkFormIsCorrect()) , I call this javascript function that will validate several situations and submit or not the form. In this function: function checkFormIsCorrect() { if (!$('div.has-err...
asked by 29.08.2016 / 16:22
2
answers

How to maintain the page of a site in the same place that it was before updating?

I have a page in html and php and put a form at the bottom of the page. When I click the "submit" button the page refreshes and goes up. This way the user has to scroll all the time until he reaches down again to see if the data has been r...
asked by 28.10.2014 / 16:15
2
answers

What is the difference between forms.Form and forms.ModelForm?

Hello, dear. With the help of a tutorial, I was able to create a template with form and use the forms.ModelForm to save in the database, however, I saw in the Django documentation that there is also the forms.Form. What's the difference? D...
asked by 03.01.2016 / 21:38
3
answers

How to present the result of a form on the same page?

I have a form that gives me the result on another page, but I would like the result to appear on the same page. <form name="calc" method="get" enctype="multipart/form-data" action="resultado.php"> <input type="text" id="Peso" name=...
asked by 08.12.2015 / 17:42
2
answers

Accessing components from another Form

I have two Forms in my application. A Form for data from an engine that has the following fields: txtPotencia , txtTensao , and txtCorrente . I would like to access the values entered in these TextBox throu...
asked by 31.01.2017 / 13:54
2
answers

How to disable a button, and to activate it, should you click on another button?

I created a calculator using Windows Forms, it ran perfectly, but when I click the operation button before the number button (to enter a value on the display) an error occurs that closes my program alone. I wanted to know how I can do so that th...
asked by 03.06.2016 / 00:53
2
answers

How to insert values from a Select field into the database

I am a beginner in Ruby on Rails and I need to add a Select field to the user registry form, so I can add a "Type" to the user to be registered. I want to automatically populate the fields when editing and viewing a user record. I'm implement...
asked by 27.07.2014 / 00:32
2
answers

Changing rows in DataGridView / Opening a form with different design

I have a problem with a school project, as I said in the title, I need to change rows and open a form that already has design , but with different things, come on: The program is very simple, a datagrid , with Name, Id, Phone and a...
asked by 04.09.2016 / 00:38