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

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started