cancel
Showing results for 
Search instead for 
Did you mean: 

Input UI Elements are not enabling

Former Member
0 Kudos

Hi All

i have created Context in Component controller and binded that to a view controller ,

i have created a form to accept details of employees.i used apply template and chosen FORM option

upto now everything is working fine..but i am not able to enter anyvalue because all input fileds are disabled.

what is the problem.is there any configuration i need to do?

Thanks in Advance

Regards

Ravi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI

Can you explain me what to do and send me sample code how to achieve this

Regards

Ravi

Former Member
0 Kudos

HI Ravi

do the following

1) in your WdDoint()

I<yournode name>Element node=wdContext.create<NodeElement>
node.set<>(); // set all your values
node.set<>();
//finally add the element to your  node
wdContext.node<yournode>.addElement(node);

this will make your input fields enabled

Regards

Chaitanya.A

Former Member
0 Kudos

Hi

Thank you .its working fine now

Answers (1)

Answers (1)

Former Member
0 Kudos

HI ravi

you have to create a node element and you need to add that created element to the node

Regards

Chaitanya.A