Expand my Community achievements bar.

SOLVED

Drop down lists

Avatar

Former Community Member

I have created a drop down list of account numbers which the user can then select which account to use to move funds, the issue I have is that I have to display all the client accounts in the drop down list but some of those cannot be used to move funds so is there anyway of highlighting those or if they try to select they get a message informing them that that account cannot be used.

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi,

You can do the following under the validate event. Also, make sure you do specify item values under the Binding tab of the dropdown field..

if (this.rawValue == 1) {

    xfa.host.messageBox ("That account Number is not valid.","Invalid Acct Number",0);

    this.rawValue = null

}

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

Hi,

You can do the following under the validate event. Also, make sure you do specify item values under the Binding tab of the dropdown field..

if (this.rawValue == 1) {

    xfa.host.messageBox ("That account Number is not valid.","Invalid Acct Number",0);

    this.rawValue = null

}

Avatar

Former Community Member

That works brilliantly, thank you very much for your help :-)