Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

JavaScript Error

Avatar

Not applicable
Hello. I'm a beginner, and I need HELP! I'm trying to create a collapsible / flowing form [not sure if that is correct terminology]. Everytime I run the JavaScript checker, I get this message:



Error: Expected ;, Line: 4.



I have a semi-colon at the end of the line - but still get same error. Here is a sampling of the script. Can anyone help. I can forward the file, if need be.



if (this.rawValue == 1){

LossRuns-4yrs.presence = "visible";

AutomobileQuestionnaire.presence = "visible";

MVRsorDriversList.presence = "visible";

SwimmingPoolQuest.presence = "visible";
3 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now