Which of the following statements are true, regarding the hidden input
field?
a.The user can edit the value given in the hidden field
b.Used to send data to another function or server
c.The data stored in this field is not visible to the user, but it can be edited.
d.For the hidden field, the value attribute with some value is mandatory in order to
send the value to the server.
Answers
Answer:
d.For the hidden field, the value attribute with some value is mandatory in order to send the value to the server.
Explanation:
Following statement is true for hidden input field :-
For the hidden field, the value attribute with some value is mandatory in order to send the value to the server.
Example for hidden input is given as below:-
<input type="hidden" id="ipa" name="ipa" value="<?php echo $_SERVER['REMOTE_ADDR']; ?>">
The user can not view the hidden fields. they need to be filled programmatically.
Answer:b.Used to send data to another function or server and
d. For the hidden field, the value attribute with some value is mandatory in order to
send the value to the server
Explanation:the hidden field is an input type which is not visible to the user but send data to another function and the value is mandatory.