General Discussion

 View Only
  • 1.  Express yourself: Conditional Logic Regex Matching now released!

    Posted 05-30-2023 10:00

    ProntoForms' best-in-class Conditional Logic gains a powerful new tool: Regular Expression (regex) Matching.

    Currently, our conditional logic rules use various comparisons to make decisions about when to execution conditional logic actions. We're all familiar with these and using them in combination with AND/OR statements, allowing you to build complex conditional logic to provide your field users with the best context and easiest workflow in their daily tasks.

    We've heard requests to be able to do things like "Starts With / Ends With" or wildcard matches, or even being able to make sure something is all in lowercase (case-sensitive matching), because a lot of information is encoded into the text your field techs work with day-to-day. Thanks to this feedback, we've added regex matching to our Conditional Logic operators and conditions.

    A real-world example of how this can simplify your conditional logic is looking at serial numbers – in particular, appliance serial numbers. The month and year an appliance was manufactured is encoded into the serial number of leading brands.

    For example, if a technician scans the barcode on the item, and uses regex matching to determine the month and model of the appliance, they can determine:

    • the most common points of failure (if tracked in the data source)
    • the appropriate manuals for the model in front of them, and display them using Resource Documents.

    Context is key in the world of field service, and this improvement to conditional logic will aid you in getting that context to your field users.

    For more information, please see our Product Documentation: Conditional Logic Regex Match



    ------------------------------
    Erin Longhurst
    Product Manager
    ProntoForms
    ------------------------------


  • 2.  RE: Express yourself: Conditional Logic Regex Matching now released!

    Adopter
    Posted 06-07-2023 11:54

    Very cool. Is it possible to do regex to check if an answer that populated is blank? For example: matches(Regex) "^\s*$" I know there are other ways to get to this solution (but I am curious). 

    Secondly, could I use Regex match to count characters of an answer? For example, if match (Regex) ^[a-zA-Z](\s?[a-zA-Z]){2,15}$

    My use case for this would be test whether our technicians are putting quality comments on some our answers. So if character length is less than 15 I would put lower quality and vice versa. 



    ------------------------------
    Luke Greene
    Risk Analyst
    KONE
    ------------------------------



  • 3.  RE: Express yourself: Conditional Logic Regex Matching now released!

    Adopter
    Posted 06-08-2023 13:54

    Cool beans.  I hate regex, but can't wait to find an excuse to use them.



    ------------------------------
    Scott Gilleland
    Senior Field Service Engineer
    Messer Cutting Systems
    WI
    ------------------------------



Reminder: Content posted to our Community is public content.  Please be careful not to post Intellectual Property that you do not have permission to share.  For more information please refer to our Terms Of Use