This seems to be an odd question, I have not found anything in the docs (maybe it is too obvious?).
How can one delete a form, and make it no longer available in the CHT app, using the command line?
This seems to be an odd question, I have not found anything in the docs (maybe it is too obvious?).
How can one delete a form, and make it no longer available in the CHT app, using the command line?
There might be other ways to do it, but I use the delete-forms
action in cht-conf.
So, to delete a form on my local development instance I run: cht --local delete-forms -- *my_form_name*
There is also a delete-all-forms
action if you want to just clear everything out and start over…
Thank you very much @jkuester
I could have found that by looking into the cht
help
menu.
Sorry for that!
I’ve been looking for delete_all_forms but it’s delete-all-forms,
Whoops! Thanks for calling this out! I have edited my original comment so hopefully no one else is confused by this in the future!
am kind of facing a similar issue with the children nutrition screen
form under the Actions
tab
i dont have the form under the apps forms or in the tasks configuration but for some reason it keeps popping up whenever a new person in enrolled in the system