trendoman wrote: I do not fully understand the current situation, what goes where (frontend, backend), but maybe a single checkbox/radio would suffice? For instance, one can bear a name "is_draft" and if user prefers to save it as draft, then checkbox checked.
Listing only such drafts in the front-end is equal to filtering pages with custom_field="is_draft=1".
@trendoman
There are two DBF.
DBF#1: Submits the logged in users daily service record (such as, entries of leave, SIQ, travelling, etc), this is also a couch editable template.
DBF#2: Submits values of inspection (basically a questionnaire), this also a couch editable template.
Now i want to have a feature added to each DBF where is, the person filling the form can save it as a:
- DRAFT (that can be edited later)
- SUBMIT the form (that cannot be edited once submitted).
How to go about with it?
Regards,
GenXCoders