Hello,
I have some textboxes that need to be added to and removed from an input manager dynamically (to make the textboxes required or optional) depending on whether a checkbox is checked or not.
When the user clicks on a checkbox, I add my textboxes to the target controls using the following code:
myInputManager.get_textBoxSettings()[0].addTargetInput(myTextbox.id);
Is there a way to subsequently remove my textboxes from the target controls once the user unclicks a checkbox? I couldn't find a 'removeTargetInput' method in the client side api.
Thanks,
Marie
I have some textboxes that need to be added to and removed from an input manager dynamically (to make the textboxes required or optional) depending on whether a checkbox is checked or not.
When the user clicks on a checkbox, I add my textboxes to the target controls using the following code:
myInputManager.get_textBoxSettings()[0].addTargetInput(myTextbox.id);
Is there a way to subsequently remove my textboxes from the target controls once the user unclicks a checkbox? I couldn't find a 'removeTargetInput' method in the client side api.
Thanks,
Marie