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.076 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started