Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Integer Validation 22 Oct 2021 04:17 #15879

Hi Chef,
I have created a number of form layouts with integers in them.
The integer has a validation applied (which is correct), but when I try to 'save' the form without entering data in the field, the validator kicks in and the form refuses to save.
This essentially makes it a 'Required' field, which I do not want.
The form needs to be filled out as work is done, so filling the whole thing out in one go without saving is near impossible.
So my only options are to put in a 0 (which is not ideal), or remove the validation altogether (which is worse).
I think there could be a 'Can be Null' boolean in the field details pop-up, so that the form can be saved and the user can return to fill out the form when ready.
Am I missing something to remedy this scenario?

Please Log in or Create an account to join the conversation.

Integer Validation 11 Nov 2021 14:09 #15881

set default value to 0 and/or check prefilled form in the Table definitiion

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.176 seconds

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started