hidden-fields

Web security, are there issues with hidden fields (no sensitive data)?

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: action=goback It seems like it would be safer to use hidden fields for that k...

Ejecting a hidden volume

I was having a problem with the script that creates my installer for macosx not working and I discovered it was because it was creating a folder called /Volumes/myinstaller 1 instead of /Volumes/myinstaller. While investigating this issue I found that I have a hidden volume called /Volumes/myinstaller with all the relevant files inside ...

Nested attributes and hidden_field_tag

Hi I have a form with several nested forms (only two level) and I need to pass hidden_fields on the form and then to the nested model. I can not seem to get the nested models to received the hidden form value. With the top level form I am using hidden_form_tag and it is working fine (although it seems like maybe I should be using jus...

(rails) hidden form elements not giving values to controller

I have the following form: <% form_for(:tag, :url => {:action => "post_tag", :id => @photoID}) do |form| %> <%= error_messages_for(:tag) %> <% if @errors then %> <%= @errors[0] %> <% end %> <p><%= form.select(:user_id, @userHash) %></p> <p><%= form.hidden_field(:xpos) %></p> <p><%= form.hidden_field(:ypos) %></p> <p><%= ...

IE doesn't find hidden-field values created with JS

Hi, I have a page with a few hidden fields in it. Those get filled with values by a script (JS/jQuery) when the user has finished selecting a couple of options. Now, if I click a link on that page, go to the linked page and then hit the back-button, FF and Safari are able to read out the values of the hidden fields. So the function to ...

Why are hidden fields used?

I have always seen a lot of hidden fields used in web applications. I have worked with code which is written to use a lot of hidden fields and the data values from the visible fields sent back and forth to them. Though I fail to understand why the hidden fields are used. I can almost always think of ways to resolve the same problem witho...

MS Dynamics CRM 4.0 - onChange event error

Hi I have an onChange event that keeps bringing up the error below whenever I preview it. 'Object doesnt support this property or method' I have the onChange event associated with a picklist and when a specific option is selected another field is unhidden. The code is below: onLoad: //If How did you hear about us is set to event sh...

Set value of hidden field in a form using jQuery's ".val()" doesn't work !

I've been trying to set the value of a hidden field in a form using jQuery, but without success. Here is a sample code that explains the problem. If I keep the input type to "text", it works without any trouble. But, changing the input type to "hidden", doesn't work ! <html> <head> <script type="text/javascript" src="jquery.js"></scri...

use of hidden field for checkboxes in cakePHP

What is the use of hidden fields for checkbox in cakePHP?? ...

C# Parsing hidden fields with the HTML Agility Pack

I need to write an application for a friends site which parses hidden fields. I've downloaded the Html Agility Pack library, but I'm kinda confused because there are not really any examples. The HTML field looks like this: <input type = "hidden" autocomplete="off" value="randomvalue" name="foo"> How would I go about getting the value ...

Chrome doesn't cache hidden form field values for use in browser history

I have a ASP.Net web form that contains both text box fields and hidden fields. The hidden field values are modified dynamically using client side JavaScript. Posting the form, inspecting the values and redirecting to another page is all working as expected. However, when I use the browser back button to display the previous page then I...