Hi,
i try to use a var in a query without success…
I would like to doe the folowing:
I have a field in my current form with e.g. this string: “ABC123”
I would like to use a substring (only the letters!) as a query search value, so i added the following to the custom js:
var mCAML = getFieldValue("myfield").replace(/[0-9]/g, '');
in the vlookup config i used the following Syntax:
{var:mCAML}
But the query doesn’t work. I use the “Build Query” Option, not the “Write your own”..
Regards,
Michael