cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

Custom Forms control does not show up in Named Controls

We have developed our own custom Nintex Forms control according to this article:  Leveraging the Nintex Forms Object Model

 

Our issue is that when we place the custom control on a Nintex Form and give it a name, it does NOT appear in the list of Named Controls when you try to create a Rule involving that control.

 

Has anyone else experienced this? We followed the article steps exactly -- perhaps a setting is missing?

Labels: (2)
Tags (2)
0 Kudos
Reply
1 Reply
Highlighted
Nintex Newbie

Re: Custom Forms control does not show up in Named Controls

Hi Jeff Kelly​,

You have to override the "AssociatedControlForLabel" property and set "HasClientValue" to 'true'. Nintex using the given control's value property on client side for required field validation and for calculating formulas.

e.g.:

public override Control AssociatedControlForLabel

{

     get

     {

          return this.CustomTextBox;

     }

}

and

protected override void Initialise()

{

     .......

     this.HasClientValue = true;

}

Cheers,

d.

Reply