MultiValue Tools

 View Only
  • 1.  Required fields

    Posted 12-02-2022 13:10
    Edited by Kathleen Hambrick 12-05-2022 09:37
    Accuterm Graphical screen creation and programming....
    I can see that each individual field can be flagged as required, but that seems to be only if the user goes to that field or the program focuses on it.

    If I have that correct, is there a way to set required on a form level? As in if I go to save a record and I did not go to a field that is required, it will give an error and force the field? Obviously I could make an internal list of all these and loop through them upon save but - since there is a required check box I thought to check here before coding that.

    Thanks for input. And for those of you out there who are going to say 'check the manual'....please don't.
    Kathleen

    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------


  • 2.  RE: Required fields

    ROCKETEER
    Posted 12-05-2022 09:30
    Hi Kathleen,
    Am I assuming correctly that your question is about AccuTerm?

    Kind regards,

    ------------------------------
    Hernando Borda
    Product Manager, MultiValue Tools
    Rocket Software
    hborda@rocketsoftware.com
    ------------------------------



  • 3.  RE: Required fields

    Posted 12-05-2022 09:38
    Apologies, yes, Accuterm.

    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------



  • 4.  RE: Required fields

    Posted 12-05-2022 13:32
    Hi Kathleen,

    Yes. The required flag simply requires that you make an entry before you can leave the field. It doesn't force you to go to that field to make an entry ...

    The AccuTerm GUI isn't a full 4GL. It provides a GUI interface, but you have to connect the components and provide most of the logic.

    In this case, it comes down to how you recognise that entry of the record is complete. You might have a 'Save' button. When the user clicks the Save button, then you would call a validation subroutine to check that all required data has been entered and is correct before actually doing the save.

    Cheers,

    Brian

    ------------------------------
    Brian Speirs
    Senior Analyst - Information Systems
    Self Registered
    Wellington NZ
    ------------------------------