I have a default connected text field, which must fill this field with default text as "NA" if X is selected and leave it empty if Y is selected.
see an example eg. here -
Thanks I knew that , but wanted some way where we could directly have text in the existing textbox field.
I'm sorry I do not understand what you mean with this requirement.
can you explain it in more details or post an example?