Nintex for SharePoint Forum
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Hi,
I am designing a form to request people to select the default payment method first, and then request for the bank account detail info. I would like to have the logic as if the person chosen Paypal as the default Payment method, then everything in the panel (red area) is an optional for this person, however, if *Bank Transfer* was ticked, then everything in the panel is required.
I tried to set the rule, but I found I can only hide or disable the panel. Does anyone know other better way do make this happen? Thanks!
Zoe
Solved! Go to Solution.
Hi Zoe,
You need to add validation on all 5 fields based on Payment Method.
Ex: For Bank Name: If Payment Method is Bank Transfer and Bank Name is empty, then Bank Name is mandatory
Regards,
Christophe
Thanks Cristophe!
could you teach which formula I should use?
I use and(equals(Paymentmethod,"Paypal"),equals(Paypal Account)," ")) for setting the mandatory validation if the user submitted Paypal as the payment method, but it doesn't work....
Zoe,
equals(Paypal Account)," ")) should be equals(Paypal Account),"")) without the space I guess
Regards,
Christophe
I made the change and(equals(Paymentmethod,"Paypal"),equals(Paypal Account,""))
but still not working....
in the following test, Paypal account should be detected and returns error message, but it got passed....
Zoe,
It seems correct.
Try to test with Paypal Account only, then with Paymentmethod only to narrow your issue.
Regards,
Christophe
Christophe, thanks for your support!
I tried and it doesn't work....If I filled up other things correctly, and picked Paypal as the payment method but left the Paypal account empty, it allows me to submit without returning any error message....
Zoe
Can you paste a screen shot of your form in design mode?
here you go
Zoe,
Please check the setting of your Payment Method control
The Choices attributes must be Bank Transfer,Paypal without a space before Paypal