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 ************************* * * * * **