Set background color based on conditions in adobe form

Step 1: I want to set the background color based on the Yuken code.
If it starts with ‘D’, set the background color to black; otherwise keep it normal.
Step 2: Open the Adobe Form and go to the Layout tab.
Step 3: Select the Yuken Code field, select Show as Events with Scripts, choose language as JavaScript, and write the code as shown below.


Step 4: Check and activate the form.
Testing: 

******************************Thank you*******************************

Comments

Popular posts from this blog

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).

Concatenation new syntax( 7.4+ ).