[phorm] Re: [Phorm:] Re: Silly Javascript() query

  • From: "Brian Clifton" <brian@xxxxxxxxxxxxx>
  • To: phorm@xxxxxxxxxxxxx
  • Date: Fri, 09 Jan 2004 23:10:47 +0000

You have to set the value=oid as well. In order for this to work i.e. 
pick up the value set in your js code, you need to write the hidden field 
within a js write command.

Best regards, Brian


> > Because Phorm only sees form fields, not ordinary 
> > text. You need to output a HIDDEN field with your 
> > number. 
> 
> If I put 
> 
> <input type="hidden" name="oid"> Still nothing get sent 
> 
> The code is : 
> 
> <SCRIPT language="JavaScript"> 
> 
> <!-- Hide from older browsers 
> var today = new Date() 
> var month = today.getMonth() + 1 
> var day = today.getDate() 
> var year = today.getHours() 
> var t = today.getMinutes() 
> var yr = "3" 
> var oid = yr+month+day+year+t ; 
> 
> // Stop hiding --> 
> 
> </SCRIPT> 
> 

=============================================================
Omega Digital Media Ltd

     I N T E G R A T E D ~ W E B ~ S O L U T I O N S

Phone: +44 (0)1444 410 202
Fax:   +44 (0)1444 456 814

http://www.omegadm.co.uk
=============================================================
Cuckfield House, High Street, Cuckfield, West Sussex RH17 5EL


-------------------------------------------------
You are receiving this message because you are subscribed to the Phorm mailing 
list. To send messages to the mailing list, simply send email to 
phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe 
from the list by sending email to phorm-request@xxxxxxxxxxxxx with 
'unsubscribe' in the SUBJECT field.

Other related posts: