Button saves form ignoring condition
I have a form on a list and certain fields need to be mandatory, I have three actions on my "Submit"
1) Information
2) Save
3) Redirection
The condition for the save "information" action is to to show a message informing the user to fill in the missing fields, that works.
Save checks if everything has been filled and if an attachment has been added to the list item .
Redirection check the same condition and redirects the user to the display form.
My problem at the moment is that when I try to submit something without the required fields I get the warning from the information action but save and redirection completely ignores the condition and goes ahead to try and save the item anyway.
The condition looks like this :
[[Title]]!="" && [[InvoiceNo]]!="" && [[DealName]]!="" && [[Recommender]]!="" && [[Supplier_x0020_Name]]!="" & [[InvoiceDate]]!="" && [[CAPEX]]!="" && [[Currency]]!="" && ArdeviaJQuery("#idAttachmentsRow").is(":visible")
Any ideas why is this not working ?
-
Hi Harry Dimitriou,
after having a remote session, I think the problem was not the expression, this should work, right?
did you manage to get it working?
BR Matthias
0 -
It was indeed the expression. Thanks for your help.
0
Please sign in to leave a comment.
Comments
2 comments