Is there a function to delete previously imported forms

Asked by Andy

Hi,

Is there functionality in QueFX to delete previously imported forms, or is there a MySQL script available to do that?

Thanks,
Andy.

Question information

Language:
English Edit question
Status:
Solved
For:
queXF Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Zammit
Solved:
Last query:
Last reply:
Revision history for this message
Best Adam Zammit (adamzammit) said :
#1

Hello Andy,

In the administrative pages there is the function "Delete a form (only if no forms imported)".

If filled questionnaires have been loaded, you could delete the imported forms first, by finding the "qid" value in the database, then running:

delete from `formpages` where fid IN (select fid from forms where qid = 1234);
delete from `forms` where qid = 1234;

(replacing 1234 with your qid)

Then you could go back to the administrative function "Delete a form (only if no forms imported)" - and the questionnaire should appear on the list of ones available to delete.

Regards,
Adam Zammit

Revision history for this message
Andy (andyb0070) said :
#2

Thanks Adam Zammit, that solved my question.