How to remove All Form types under Reports tab

Hello folks ;

Are the form types in the Reports tab picked form the ones defined app forms folder ?
Screenshot from 2022-06-10 16-36-02
I have tried to remove the forms listed here form the app forms and also deactivated their respective tasks configurations but the forms still persist in the All form types drop down as seen above…

@michael @marc

Use CHT Conf’s delete-forms to remove the forms from the database.

e.g

cht delete-forms – bcg_form

1 Like

hello @wambua ,
the cht --local delete-forms -- *my_form_name* or delete-all-forms deletes and de-activates the form or forms under New Action button but the forms still persist under All forms types in the Reports tab

Hi @cliff

Does the deleted form persist in the filter (under All forms types) even after you refresh the page?

hello @diana ,yes it still persists

Hi @cliff

I’m unable to replicate this, the form disappears from my filter when I delete it.

thanks @diana ,thats good to know that it works on your side

i have used cht --url=https://medic:password@<domain-name> delete-forms -- pregnancy_visit and it deletes the form…
I would like to delete and clean out all the forms in that filter, i have used the delete-all-forms cht action but the forms still persist in the filter (under All forms types)

these are the immunization-forms loaded form a csv file in core