Input field validation

0
I have a input field and once i enter the value its taking the value as expected and for the second time if i empty the input field its still taking some value. when debugging i got this, its taking empty space by default. Any idea to resolve this issue?   Thanks, in advance.
asked
3 answers
1

You should use trim($Obect/Attribute) != '' in your decision to see if a string is not empty. This will solve the problem I guess.

 

answered
1

There is no default or generic configuration or logic available to do this unfortunately.

If you really want it to be 'empty' again, then you could resort to an On Leave nanoflow on this input with a split and action that if trim($Obect/Attribute) = '' you set the value to empty.

 

answered
0

Hi Abdur Rahman,

if the attribute is string then it takes the value as  '' . If you want to check whether the value is empty then add a another condition and check whether the value is '' .

answered