|
I was having a discussion with coworkers. We have to implement some security standards. We know not to store 'sensitive, addresses, date of birth' information in hidden fields but is it OK to use hidden fields for your application, in general.
For example...
Started by Berlin Brown on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at stackoverflow):
In ....
I dont think there is anything wrong with using hidden fields as long as they aren't used session variable instead...
Making a field "hidden" has pretty much nothing to do with security, and should be considered a UI).
|
|
I am analyzing someone else's PHP code and I've noticed that the input HTML has many hidden input fields with names that end with '[]', for instance:
<input type="hidden" name="ORDER_VALUE[]" value="34" /> <input type="hidden" name="ORDER_VALUE...
Answer Snippets (Read the full thread at stackoverflow):
See How do I create arrays in a HTML.
This applies to all input fields, by the way, not just hidden ones.
|
|
I run serialize on a form, where on of the fields is hidden - and it's a very important field, which should be posted. Is there any way to easily serialize it through jQuery or should I write my own function?
Started by gruszczy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Maybe combining the two in a single selector would work?
$(":input,:hidden").serialize();
edit.
|
Ask your Facebook Friends
|
Here's a curious case: I have a form with several data-input controls on it. A sub-set of these controls can be shown / hidden by checking a checkbox. All controls and their associcated Validators belong to a ValidationGroup called "Advanced", as does...
Started by Mike Kingscott on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The two answers show.
You should disable the validators when the controls they validate are hidden.
Can you set it up so that when you set the fields to "hidden" you also Disable the validation .
|
|
A simplified version of problem I am experiencing:
Here is my HTML form:
<form enctype="multipart/form-data" method="post" action="/controller/action"> <input type="text" name="title" id="title" value="" class="input-text" /> <input type...
Started by Richard Knop on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You should get_field').val('abcd'....
Correct way to set the value:
$('#hidden_field').val('abcd');
Reference: http://docs.jquery.com/Attributes/val
The statement
$('#hidden_field').attr('value') = 'abcd';
is incorrect.
|
|
I would like to remove these hidden fields in my ASP.NET pages. Alternatively change the names or make sure the server code ignores them.
(I know I will loose some functionality, but I think it is better to handle it than removing 'runat=server'. The ...
Started by Olav on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Thus turning off the ViewState for the whole page will only make this hidden field....
Controls can still access the ControlState when in the __VIEWSTATE hidden field.
Rid of that hidden input field called __VIEWSTATE.
|
|
I have asp.net form that contains fields. When I access this window, my javascript functions can access the fields via the DOM with the getElementById() method and when I postpack to the server I am receiving the updates made by the client.
However, when...
Started by David Robbins on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Is it possible the that javascript is trying to get a reference to the hidden field before.
|
|
Suppose you've got a webapp that's passing usernames and passwords around in hidden form fields.
I know it's a very bad idea, but I'm interested in enumerating why... any thoughts?
update - This is a hypothetical question.
I couldn't find a resource that...
Started by Brabster on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
But if gmail passes the password around in hidden field format, then you can see my gmail of the user logging in being placed in a hidden field before being sent, there's absolutely no difference/
Amazingly, storing....
Password.
|
|
I am working on an issue i'm having with hooking a field, setting the default value, and making it hidden. The problem is that it is taking the default value, but only submitting the first character of the value to the database.
//Here is how I'm doing...
Started by cinqoTimo on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
$form['#field_sr_account'] = $club; $form['field_sr_account'] = array....
And the hidden attribute separately, then set the value again in the submit handler using the following format, but it works, so I'm going to leave it alone...
|
|
Hello,
I need to create a hidden field on my page, store some value in it and read that value later. If i create a regular text input and read its value using jquery, i get the correct value. But if i create a hidden input field,populate it with some ...
Started by Tomw on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You don’t write type="hidden;input type="hidden....
Maybe you have another error somewhere.
Hidden fields or other type of input fields should behave the same.
Inputfield").val());
alerts first an empty string then foo.
|