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
BedrockMission!

Learn More

View all

Sign in to view all badges

property presence wont work

Avatar

Avatar
Validate 1
Level 2
AEM_USER1
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 2
AEM_USER1
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back
Boost 1
View profile
AEM_USER1
Level 2

29-06-2020

is there any reason why the presence wont work?

 

form1.Page1.Sec1Fields.ddlTopic::change - (JavaScript, client)

var newSelection = xfa.event.newText;
  if(newSelection == "Other"){
    xfa.host.messageBox("visible");
    Page1.Sec1Fields.txtOtherTopic.presence = "visible"; 
  } else {
    xfa.host.messageBox("hidden");
    Page1.Sec1Fields.txtOtherTopic.presence = "hidden"; 
  }
}

i have that piece of code and i will get the message but the field will not hide. please help @workflowuser  

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
AEM_USER1
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back
Boost 1
View profile

Avatar
Validate 1
Level 2
AEM_USER1
Level 2

Like

1 like

Total Posts

46 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back
Boost 1
View profile
AEM_USER1
Level 2

29-06-2020

this has been solved, the form needed to be saved as Dynamic 🙄

Answers (0)