User Tools

Site Tools


tech2018:develop_custom_form

TECH2018/S5/Developing your first custom form

Scenario: we need to develop a form that allows the user to update name and surname from account data. This is the checklist of things to consider:

  • Choose the type of form;
  • Create the default MCV structure;
  • Setup the form type
  • Check the activity Loading URL;
  • Create the activity view;
  • Understanding payload;
  • Create the activity model:
    • Get fetch_data;
    • save_data;
    • front-end validation;
Understanding the edit account form
edit_account_view Form view, front-end validation and fields status
edit_account_model Loading pre-existing data and saving @live data (not using process libraries)
edit_account_controller
tech2018/develop_custom_form.1526285043.txt.gz ยท Last modified: 2018/05/14 08:04 by Gianluca Pelliccioli