Hi have a server action with a condition, and I am trying to set a condition that if the form field value is not empty then carry out a step. But I can’t get it to work.
use .trim().length() – trim to avoid white space
{{$_POST.shr_media_email_address.trim().length() == 0}}
Yes, as your logic demands.
1 Like