Today’s post is inspired by this posting on the LiveCycle Google Group:
Tarek wanted to be able to submit an electronic form (eform) to a server without performing all the checks for mandatory fields. This is actually a very common requirement, and is most useful when you want to allow your users to save the eform as a draft copy back onto the server. Obviously, if you’re saving as draft, you want to allow the user to save the eform without all mandatory fields completed. (Note that you still do want all validation rules for non-blank data to be fired – otherwise you will get a whole lot of errors being displayed when you re-open the draft form.)
Tarek has outlined his very clever code to achieve this. However, it’s quite complex, and requires code to be explicitly placed on every mandatory field in order to make it work. I haven’t tested it myself, but according to his own testing, it seems to work. Take a look at the link above to review his code.
This is the sort of thing we’ve been building into our electronic forms for years, and so we’ve added it as a standard feature in Composer. All you need to do is check one checkbox on the Submit button’s properties. Done. No fuss, no complicated code, nothing else to do.
But wait, there’s more…
You may also notice the “Clear hidden data on submit” checkbox, which is checked by default. This is another feature we provide by default.
At Avoka, we have several hundreds person-years of collective form building experience. We’ve taken that experience, encapsulated it, and built it directly into Composer. Many if not all of the more sophisticated features that you need in your eforms are already there, and all you need to do is use them. You can build PDF/XFA forms, or HTML5 forms for Desktop or Tablet from the same form design. Please contact us for more information or a trial.