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

Validating Input Form & Saving Issue

Avatar

Avatar
Level 1
rebeccateng
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
rebeccateng
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
rebeccateng
Level 1

03-11-2020

Hi all,

 

I've added the below code to the nms:newOperation Input Form to check that a custom field is not blank when creating a new Campaign. I've inserted the code inside the form but outside of the container. It is giving me an error if the field is blank (working correctly), but then upon inputting the required field and selecting OK, the new campaign window closes but is not created. Any help would be greatly appreciated!

 

<leave>
    <check expr="@audienceLevelId!=''">
        <error>Mandatory field - Please select Audience Level ID</error>
    </check>
</leave>

form validation

Accepted Solutions (0)

Answers (0)