Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Portals Web Form: Compare text fields in conditional web form step

Posted on by 650

Hi,

I would like to compare two text fields in a conditional web form step, but I am struggeling with the correct syntax (if this is even possible?!).

Can anyone share some experience, maybe?

Thank you in advance.

  • LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: Portals Web Form: Compare text fields in conditional web form step

    Hi Partner,

    Here are the Operands for you.

    pastedimage1600828911089v1.png

    And the format is [entity attribute logical name] [operand] [value].

    For example : new_name = "abc".

    You could refer to this doc for more details.

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-conditional-step

    But if you mean you want to compare two fields, it is no supported now, for formatting reasons, the portal will treat the field field names as the contents of the comparison.

    You could add custom JS code in the previous step to check if the two fields are the same value, and if not, then hide the "Next" ribbon.

    Regards,

    Leo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans