Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Where is HiddenField Class in RPCL 6


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: Sep 11, 2015 8:11 PM Last Post By: Erick Engelke Threads: [ Previous | Next ]
Robert Kondner

Posts: 59
Registered: 11/15/01
Where is HiddenField Class in RPCL 6  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 27, 2014 5:16 PM
Hi,

I had an app in a previous version of HTML Builder and the page contained some hidden fields.

In RPCL 6 I cannot find the unit that contains the hidden fields. Can anyone tell me where they are?

Here is what I am including in my page.

use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
use_unit("styles.inc.php");

Thanks,
Bob K.
Robert Kondner

Posts: 59
Registered: 11/15/01
Re: Where is HiddenField Class in RPCL 6  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 30, 2014 2:42 PM   in response to: Robert Kondner in response to: Robert Kondner
Robert Kondner wrote:
Hi,

I had an app in a previous version of HTML Builder and the page contained some hidden fields.

In RPCL 6 I cannot find the unit that contains the hidden fields. Can anyone tell me where they are?

Here is what I am including in my page.

use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
use_unit("styles.inc.php");

Thanks,
Bob K.

Actually it is RPCL 5. Must have seen H5B ver 6.
Erick Engelke

Posts: 101
Registered: 12/5/02
Re: Where is HiddenField Class in RPCL 6  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Sep 11, 2015 8:11 PM   in response to: Robert Kondner in response to: Robert Kondner
Robert Kondner wrote:
Robert Kondner wrote:
Hi,

I had an app in a previous version of HTML Builder and the page contained some hidden fields.

In RPCL 6 I cannot find the unit that contains the hidden fields. Can anyone tell me where they are?

Here is what I am including in my page.

use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");
use_unit("styles.inc.php");

Thanks,
Bob K.

Actually it is RPCL 5. Must have seen H5B ver 6.

I spent several pages in my book explaining how to do it. The problem you are encounterring is that the RPCL has a bug, it can only pass hidden variables you have defined in the design time editor. There are a couple of solutions. The easiest is to

page1beforeshow( $sender, $params )
{
print "< input type='hidden' name='varname' value='23' />";
}

--
Erick Engelke
HTML5 Builder Book
http://www.erickengelke.com
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02