Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Urgent Help with Dropdown List, Please.

Avatar

Level 4

Hi,

a)  When a user selects an item, its price is supposed to show in the Price column.  The script looks fine, but I am overlooking something and need a second pair of eyes to catch a simple oversight.  Could somebody please take a look?

b)  The Sales Tax and Total fields display '0' at startup.  How do I have the '0' not display at startup?

Please see form at the link below.  Thank you.

https://acrobat.com/#d=9ymAzEv7-DaLoTlMR58Ffg

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You have a syntax error in your change script, click the check syntax errors button in the script editor toolbar, Syntax Check.PNG

So, you have three cases where you have a string literal with an embedded double quote, so you either need to use a single quote in those cases or escape the double quote with a slash, that is;

case "* BASIC Clipboard  (5.25 x 13.5\")":

For the Sales Tax and Total fields In the display patterns dialog you can select "Allow Zero" which will display blank when the value is zero.

Regards

Bruce

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

You have a syntax error in your change script, click the check syntax errors button in the script editor toolbar, Syntax Check.PNG

So, you have three cases where you have a string literal with an embedded double quote, so you either need to use a single quote in those cases or escape the double quote with a slash, that is;

case "* BASIC Clipboard  (5.25 x 13.5\")":

For the Sales Tax and Total fields In the display patterns dialog you can select "Allow Zero" which will display blank when the value is zero.

Regards

Bruce