Page 2 of 2

Re: multiple parms with script:

Posted: Mon Jan 25, 2016 9:38 am
by ppbedz
Scott,

I made the changes and it is working now. Thank you for all your help! I am starting to understand things a little better now.

Patti

Re: multiple parms with script:

Posted: Thu Apr 07, 2016 5:11 am
by ZoeW
Hi Patti,

I am experiencing the same problem, I have two select boxes which provide the data for the third box, but like you I cannot get the third box to fill with data if I have more than one choices parameter value. I can get it to work with one though.

What was your solution in the end?

Many thanks

Zoe

P.S We are on version 5.2.0
choices.jpg
choices.jpg (26.23 KiB) Viewed 443 times

Re: multiple parms with script:

Posted: Fri Apr 08, 2016 12:10 pm
by Scott Klement
Hi Zoe,

Are you using the applyProperty() API in your code? Or is it only the property values you've shown in your screenshot?

There was a bug in the applyProperty() API that has been fixed in the current (5.4.0) version of Profound UI.

Re: multiple parms with script:

Posted: Mon Apr 11, 2016 6:25 am
by ZoeW
Hi Scott,

yes, I am using ApplyProperty. We've not been able to upgrade yet as we had a problem with 5.3.2 (Issue #2448).

We're in the middle of a project at the moment so won't be attempting the upgrade again until that is over.

As a work around to my problem I populated a text box with both values concatenated, then I used this in the SQL:
choices2.jpg
choices2.jpg (23.94 KiB) Viewed 431 times

Re: multiple parms with script:

Posted: Fri Apr 15, 2016 6:43 am
by ZoeW
We loaded 5.4 on to our dev box today, I have now been able to use applyProperty to assign values to more than one 'choices parameter value' for a select box.