Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


The following instructions demonstrate how to make data in your application editable by creating an edit form.

...

To be able to edit information in a CommCare Application, the information we want to be editing has to be saved in a case. More detailed examples of case management can be found here. The example below shows how a case is created and information is updated.

...

2. Add the registration form and create the questions, in this case will be, name of team, number of players, captain’s name, the coach’s name, name of club, date of registration.


Step 2: Save Information on the Case

Save the information that needs to be edited in the case list by clicking the button manage case on the top right side of the screen and save the questions that need to be accessible in other forms in the case properties


Step 3: Create the follow up form

...

  1.  In the follow up form use the App properties tab to navigate on thru the saved cases properties

...

  1. Image Added

2. Create the fields that are going to receive the new values, and fill the default value with the equivalent  case property, in the example below the app is updating the coach value and use as a Default value the saved case property. Configuring the application this way means that the user will see the previous value before updating.

...

While the follow-up  form is opened, select the option Manage Case Image Removed Image Added, then proceed to save the questions on the case property. Make sure you have the case property named exactly the same as you named before in the registration form otherwise the edit form will not overwrite the correct properties.

Image RemovedImage Added

Optional Section

In addition to this, here are some other enhancements you can add to help usability for your workers

...

 Put a label and for each case property, drag and drop to the label display text

Image RemovedImage Added

2. Choose which information to edit

insert a multichoice question that asks which information to edit

Image RemovedImage Added

3. In the question, add the display condition

Image RemovedImage Added