I would like to optimize this code:
if (fd.field('Question_2').value.includes('Name') && fd.field('Question_2').value.includes('Address'))
Instead of typing up the same statement after &&, is it possible to put into one if statement?
Here is an example, the syntax isn't correct but something like this would be much better to type and save space in the JS editor..
if (fd.field('Question_2').value.includes = ['Name', 'Phone/Email Address'])
Many Thanks!