Forum Moderators: open

Message Too Old, No Replies

Hidden HTML Form Data - Server Side

         

mqcarpenter

7:45 pm on Feb 23, 2009 (gmt 0)

10+ Year Member



I do not see a clean way to do this when searching Google. I just want to create hidden form fields that use the server date as their values.

For example, a field will be used for current month, current day and current year. It seems silly to have the visitor set these values. I just want to use a hidden field that dynamically is applied.

Is there a clean and easy way to do this?

LifeinAsia

8:10 pm on Feb 23, 2009 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



You can easily do this with any language (ASP, .NET, PHP, etc.).

But instead of doing it on the front end, it's usually just easier to process it on the backend instead of passing it through a form.