Hi Everybody,
Which property of an editBox (or any input control) is used to pass the
content of that control? Like $value = ???
Input Property
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
Re: Input Property
In which context? Do you mean in JavaScript?
Note that these are all standard HTML elements so if you are creating a script then this is not specific to WWB.
Note that these are all standard HTML elements so if you are creating a script then this is not specific to WWB.
Re: Input Property
If you want to get the value of an edit box in JavaScript, it’d normally look something like document.getElementById('yourElementId').value. Even if you’re using jQuery, it’s even simpler with $('#yourElementId').val().
Re: Input Property
Thanks, fellows,
When someone enters their information into a form control, such as an editBox: The editBox ID is fName and they enter "Peter".
When they press the <SUBMIT> button, the idea is to either update or create a new record in a MySQL table. What property of the editBox contains "Peter" so that the PHP statement $FirstName="Peter"?
When someone enters their information into a form control, such as an editBox: The editBox ID is fName and they enter "Peter".
When they press the <SUBMIT> button, the idea is to either update or create a new record in a MySQL table. What property of the editBox contains "Peter" so that the PHP statement $FirstName="Peter"?
Many Thanks,
-Paul-
-Paul-
Re: Input Property
When a form is submitted the value will be put into a $_POST variable:
https://www.php.net/manual/en/reserved. ... s.post.php
Note that this is not specific to WWB. This is standard PHP functionality.
https://www.php.net/manual/en/reserved. ... s.post.php
Note that this is not specific to WWB. This is standard PHP functionality.