This topic is locked
[SOLVED]

 Hidden Fields

2/5/2011 3:24:52 PM
PHPRunner General questions
A
albertomaffei author

Hello,

I'm on the registration page and have a field called Group.

For those who are registering for the first time, the value of this field is "New. "

I do not want the user to see this field. but I want the system to save the Users table in the value of this field.

If I was programming with lines of code I would simply use the <input type=hidden name=Group value=New />.

How can I do this using the PHPRunner 5.3?

Thanks.

T
trek46 2/8/2011

Use this line in the Before Display event:

$xt->assign("YOURFIELDNAMEHERE_tabfieldblock",false);


Just make sure you set the default value in phprunner for that field to "New". I hope that helps.

A
albertomaffei author 2/15/2011



Use this line in the Before Display event:

$xt->assign("YOURFIELDNAMEHERE_tabfieldblock",false);


Just make sure you set the default value in phprunner for that field to "New". I hope that helps.


Hello, Thanks for your reply.

It worked perfectly.