Disable Editable Fields

I am new to domino designer and creating applications. At the moment I have a form that populates three fields based upon a user inputing and ID number.

The script is executed on a button that populates the fields. How do I change the status of a field’s edit ability based upon what button is clicked.

For example if they enter in the id number and click validate the fields are populated by the script at which point i do not want them to be editable fields. However if the click the button that says I don’t have my ID number I want them to be able to enter information in those fields. Is this possible

Subject: Use input enabled formulas

See this tip:TLCC Tips for XPages, Notes and Domino - This tip: Block Input in Domino Fields

Howard

Subject: Create two fields

The ‘normal’ Notes way is to create a second, computed for display field and toggle which one displays depending on some other status field.