Come join us on November 27-29, 2018 at the Gartner Application Strategies & Solutions Summit 2018 in Las Vegas, USA.
A sample use case presents such where form validation is only required for record update, not for record creation.
This is possible by adding an empty section in a form to store this script below. This script will remove form validation if primary key does not exist (which is in add mode).
Sample app is available in the link below:
Credits to: panda