Avatar

Level 4

Hi Experts,

I have a requirement of marking conditionally reqd fields with red asterisks based on certain fields getting populated.

Please refer to the attachement - currently am able to mark with asterisk but not able to change the color of the asterisk from black to red.

I have 2 text fields named Bank Account Number & Payment Method

Payment Method is mandatory if Bank Account Number is populated - that means we require a red asterisk in the caption for Payment Method

Script inserted

MASTER.page1.bankAccNr::mouseEnter - (JavaScript, client)

paymentMethod.caption.value.text

= "Payment method * ";

MASTER.page1.bankAccNr::mouseExit - (JavaScript, client)

paymentMethod.caption.value.text

= "Payment method";