[phorm] [Phorm:] Re: dynamic field wont post to database

  • From: webbbs@xxxxxxxxx
  • To: support@xxxxxxxxx
  • Date: 22 Apr 2003 13:29:09 -0000

The following new message has been posted on Phorm Support Forum at 
<http://www.phorm.com/support/>. 

*************************************************************************** 

  MESSAGE:  (#2570) Re: dynamic field wont post to database 
            <http://www.phorm.com/support/?rev=2570> 
  AUTHOR:   Steve 
  DATE:     April 22, 2003 at 9:29 a.m. EST 

  Reply To: (#2569) Re: dynamic field wont post to database 
  Author:   Patrick O'Hara 
  Date:     April 21, 2003 at 10:13 p.m. EST 

I actually got it to work. It wasn't a problem with the form itself...but the 
javascript being used to pass the dynamic field. I originally had it set to 
pass on submit. 

I changed it to pass the variable on load of the page. This seemed to work. I 
now get the result posted to the database, as well as in the e-mail. 

Thanks. 

> On the form.... 

> <input type="hidden" name="foo" 
> value="bar"> 

> (This can be written by a Javascript as required) 

> In your config file... 

> PHORM_MYVARS = "Name=name, HiddenField=foo"; 

> The value of the database column HiddenField for this 
> record will be "bar". 

> Regards, 

> Patrick O'Hara 
> WhitsundayIT 
> QLD, Australia 

> patrick@xxxxxxxxxxxxxxxx www.whitsundayit.com 

*************************************************************************** 

This is an automatically-generated notice.  If you'd like to be removed from 
the mailing list, please visit Phorm Support Forum at 
<http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx  If 
you wish to respond to this message, please post your response directly to the 
board.  Thank you! 
-------------------------------------------------
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: