CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Link parameter - source type "Form"

Print topic Send  topic

Author Message
x-ray

Posts: 18
Posted: 05/08/2012, 10:39 AM

Dear everyone,
I am trying to understand the following:

Situation: When I add a link in my "Form" I can also add parameters.
One of the parameters is "Form".

Do I understand it correctly that:
If I have a text field on my form named "xyz" that I can refer to this Form field by
1. choosing "Form" as Source type
2. choose "xyz" as parameter source
3. choose eg. x as parameter name

Do I understand it correctly that the location/order of the field in the form that I refer to should occur before the link field (because those fields otherwise would have no value yet when the link field is being processed?


_________________
I may disapprove of what you say, but I will defend to the death your right to say it
View profile  Send private message
DataDoIT
Posted: 05/08/2012, 11:04 AM

On 5/8/2012 1:39 PM, x-ray wrote:
> Do I understand it correctly that the location/order of the field in the form
> that I refer to should occur before the link field (because those fields
> otherwise would have no value yet when the link field is being processed?
>

If your record has the link parameter that you need in a field's value,
then choose DataSource Column as your Source Type and select the
Parameter Source from there.

If you choose Form as your Source Type, then the value will come from
that form input field as it is when the form field loads (ie:
$Container->YourField->GetValue()).

Choose the former option always. You can always put in a hidden form
field and set it's value in it's Before Show event. It will always show
as a Parameter Source when DataSource Column as Source Type is selected.
In my near decade of using CCS, I've NEVER had to use Form as Source Type.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.