Is this a safe way?

Grover002 12 Aug, 2010
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?
GreyHead 14 Aug, 2010
Hi Grover002,

That's exactly how the Profile plug-in is designed to work :-)

Bob
Grover002 14 Aug, 2010
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
GreyHead 14 Aug, 2010
Hi Bas,

The final proof of the last chapter was signed off yesterday and I'm told that the 'Files were uploaded'. I'm not quite sure what that means, but I think the book should be available for download (and printing) in the next week or so.

Bob
This topic is locked and no more replies can be posted.