I’ve setup FDM to create documents and want to allow the original authors to edit their own docs.
This is what’s working so far.
Users can register for login and pw.
New users are put into a specific document group
Registered users can create a new document using FDM
FDM will put the new doc into the same document group as new users
Logged in users can see all the documents created in a ditto list
When users go to their documents (from ditto) they see the edit document button
Here’s the strange part
When they click on the edit button, the are presented with only a few of the fields on the form and some of the fields are not presenting the correct data.
See screen shots
This is the call to create the document:
[[FDM? &language=`english` &eform_tpl=`fdmEformbackup2` &parent=`318` &model=`325` &redirect=`326` &&canpost=`agents` &disableedit=`0` &disabledelete=`1` &disableunpublish=`1` &eform_noemail=`0` &eform_subject=`[+subject+]` &eform_report=`emailreport` ]]
I’ve placed this call in the template used by the document above the form.
[!FDM? &disableadd=`0`&id=`[+id+]` !]
When the user views their own document the edit button appears but when they try to edit the document, they see only four of 13 fields. Also, since the data isn’t matching the fields, the form returns validation errors that prevent it from being submitted.
Any thoughts on this?
Terry