Feature Requests & Ideas

For bug reports and questions, please use the in-app chat or support@mabl.com.

Allow string interpolation by comparing two variables

I think string interpolation will be a big help when it comes to validation. Currently, comparing two extracted variables is not supported and hopefully it will be a added in the future.

 

  • Mark Russel Cruz
  • Sep 19 2019
  • Shipped
  • Oct 10, 2019

    Admin Response

    You can now validate the values of two variables without the need for JavaScript. Release notes

  • Attach files
  • Lukas Linhart commented
    19 Sep 15:30

    const a = mablInputs.variables.user.a;

    const b = mablInputs.variables.user.b;

    if (a !== b) throw new Error('meh...');

     

    You can use anything in the condition (regex). But I do feel your pain.

Copyright © 2019 mabl Inc. All rights reserved.