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 |
|
|
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.
|
|
|
|