Expand my Community achievements bar.

Make a field read-only after selection made

Avatar

Level 2

I have the below code:


var currency =  topmostSubform.IFFPage3.Page.Body.rdoDefaultCurrency.rawValue;

topmostSubform.IFFPage6.Page.FirstCustomer.cboBasicGrossEarningsCurrency.rawValue = currency;

topmostSubform.IFFPage6.Page.FirstCustomer.cboOvertimeBonusCurrency.rawValue = currency;

topmostSubform.IFFPage6.Page.FirstCustomer.cboFeesCurrency.rawValue = currency;

topmostSubform.IFFPage6.Page.FirstCustomer.cboEarnedOtherCurrency.rawValue = currency;

I need the ones =currency to be read only. Is there a way to make them readonly? I dont want them to be able to change the drop down after a master currency is selected.

1 Reply

Avatar

Level 8

Use the 'access' property. YourField.access="protected" and YourField.access="open".

Kyle