Versions Compared


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

You can remove the default value set for a dropdown, radio button form fields by adding, deleting dummy PV, or updating the form XML file.

Below listed are the options to remove the default value 'Not specified' from the drop-down field 'Suffering from other cancer?' of the form 'Cancer Details'.

Option-1: Add dummy permissible value (PV) 

  1. Go to the edit page of the form 'Cancer Details'.
  2. Edit the field 'Suffering from other cancer?'
  3. Add a dummy permissible value to the field.
  4. Set the dummy permissible value as the default value.
  5. Delete the dummy permissible value.

Option-2: Update the form XML file

  1. Go to edit page of the form 'Cancer Details'
  2. Click on 'Export' button to export the form XML file
  3. Open the downloaded form XML file in a text editor (If the zip file is downloaded, unzip the file and open the form XML file in a text editor)
  4. Remove the value 'Not Specified' from the tag '<defaultValue><![CDATA[Not specified]]></defaultValue>'
  5. Save the form XML and import it back. (If the downloaded file has the permissible values folder, then zip updated form XML file along with the PVs folder and import back) 
  6. Refresh the browser, the 'Not specified' value will not be the default value for further data entry