Registration form

-1
Hello, Can anyone solve the validation error i.e., name is empty.          
asked
5 answers
0

Hi Dwija Nagar,

 

You can check the variable by debugging the microflow.

 

just right click on any activity in the microflow and Click on "Add Breakpoint"

 

then see the variables section and go through each element to find the problem using debugging window.

 

answered
0

Hi,

 

Firstly Create variable value set be true and in decision write $entityname/attribute !=empty and change the variable value set to be false.

Try this approach. Hope this will help.

image.png

answered
0

Now on click of register the response i get is failed and nothing would coming

 

 

Screenshot 2024-04-16 134436.png

answered
0

Hi Dwija,

 

When validating a string value use trim($Entity/StringAttribute) != '' 

- this way your true flow can continue and the false flow goes down (assuming you want the value to be not empty). Having true flow always go to the right and false go down will also improve the readability and maintainability of your application.

- using the trim() function will ensure that a string of empty spaces is also caught. Empty spaces have a value and as such will evaluate to true if you use $Entity/StringAttribute != empty

 

Hope this helps,

Yves

answered
0

now also same thing not working

 

 

Screenshot 2024-04-16 150036.png

answered