Hi guys,
With some great ideas from this forum and some experimenting and some luck, I managed to create updateable forms.
What I need is that a user (CB registered) can open a form and submit it to the database. When he opens the form another time, the same form with the data from the previous visit is displayed. He can update it and so on. Each user can only have one row in the connected table.
What I did:
- added a hidden field to the form referring to cf_id
- used the profile page plugin
- specified in the Profile Page settings the table he is updating, target-field=cf_user_id, editable=Yes
This seems to work flawlesly. Just checking: is this a safe way to do this or am I risking something?
With some great ideas from this forum and some experimenting and some luck, I managed to create updateable forms.
What I need is that a user (CB registered) can open a form and submit it to the database. When he opens the form another time, the same form with the data from the previous visit is displayed. He can update it and so on. Each user can only have one row in the connected table.
What I did:
- added a hidden field to the form referring to cf_id
- used the profile page plugin
- specified in the Profile Page settings the table he is updating, target-field=cf_user_id, editable=Yes
This seems to work flawlesly. Just checking: is this a safe way to do this or am I risking something?
Hi Grover002,
That's exactly how the Profile plug-in is designed to work :-)
Bob
That's exactly how the Profile plug-in is designed to work :-)
Bob
Hi Bob,
Great, thanks, I look forward to catch your book as you have a lot of knowledge to share. Is it available already?
Cheers,
Bas
Great, thanks, I look forward to catch your book as you have a lot of knowledge to share. Is it available already?
Cheers,
Bas
This topic is locked and no more replies can be posted.