cancel
Showing results for 
Search instead for 
Did you mean: 

Disabled input

Former Member
0 Kudos

Hi,

I created a form with the template, I applied de form template and choosed from the context the fields, but when i try to run it the fields are disabled and their properties are readonly false and enabled true.

Any Idea?

Thanks,

Edu

Accepted Solutions (1)

Accepted Solutions (1)

roberto_tagliento
Active Contributor
0 Kudos

Probably your context field is a child of a node.

You need to create a node element, of faster set the node cardinality to "1..1" or "1..n".

Bye.

Former Member
0 Kudos

Roberto,

Thanks! You seem right, but the problem is that i can change the cardinality value on the properties window, do you know where to do or what to do?

Thanks

Edu

roberto_tagliento
Active Contributor
0 Kudos

If you cannot change, so mean that it is binded from controller.

Go to controller context and change the cardinality.

If you cannot also there means that the node is imported from a model.

So you need to create the element by code.

Something like this:

wdContext.nodeYOUR_NODE().addElement(wdContext.nodeYOUR_NODE().createYOUR_NODEElement());

wdContext.nodeYOUR_NODE().moveLast();

Bye

Former Member
0 Kudos

Roberto,

Thanks it solved my problem.

Edu

Answers (0)