iLogic Input List Box prompt

iLogic Input List Box prompt

Anonymous
Not applicable
2,853 Views
4 Replies
Message 1 of 5

iLogic Input List Box prompt

Anonymous
Not applicable

I'm making a rule to set a parameter using an input list box selection, using a code sample in the iLogic editor.  The "prompt" that is shown at the bottom of the message box (see attachment) really serves no purpose and I'd like to remove it, but cannot find a way to do this.  Is it possible to do this without using a separate dialog box?

0 Likes
2,854 Views
4 Replies
Replies (4)
Message 2 of 5

mdavis22569
Mentor
Mentor

Can you attach  or paste the code for us to see ....

 

 

Mike


Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

---------
Mike Davis

EESignature

0 Likes
Message 3 of 5

Anonymous
Not applicable

It's below.  "State_List" is a multi-value parameter.

 

State_List = InputListBox("Select State", MultiValue.List("State_List"), State_List, Title := "Ticket State", ListName := "Select a State")
iProperties.Value("Custom", "NOTE") = State_List
iLogicVb.UpdateWhenDone = True

 

0 Likes
Message 4 of 5

Koekepeerke
Advocate
Advocate

Hey James,

 

I was justing thinking about the same thing. I really don't need the prompt section for my inputlist.

Did you by any chance find a way to remove it?

 

regards,

Jeremy

0 Likes
Message 5 of 5

pcrawley
Advisor
Advisor

You can remove the prompt by removing the text between the red quotes:

State_List = InputListBox("", MultiValue.List("State_List"), State_List, Title := "Ticket State", ListName := "Select a State")
iProperties.Value("Custom", "NOTE") = State_List
iLogicVb.UpdateWhenDone = True

It doesn't remove the entry at the bottom of the InputListBox, only the text.

 

Alternatively you could make an iLogic Form that shows the options - that way you can design the form exactly the way you want it:

 

And the iLogic behind it is still the same, but you drop the InputListBox:

State.jpg

iProperties.Value("Custom", "NOTE") = State_List
iLogicVb.UpdateWhenDone = True

 

Peter