Hi there,
I created a form to let registred users save personal information into a DB-tabel. That went pretty good. I works fine.
But now I want to use the same form to let the user edit there own information (of course after they are logged in).
How can I:
[list=]let the user see its information already filled in into the form?[/list]
[list=]make sure the user is editing previously provide information (so he is overwriting earlier content without entering a new record in de DB table)?[/list]
Thank you for your help ! 😀
I created a form to let registred users save personal information into a DB-tabel. That went pretty good. I works fine.
But now I want to use the same form to let the user edit there own information (of course after they are logged in).
How can I:
[list=]let the user see its information already filled in into the form?[/list]
[list=]make sure the user is editing previously provide information (so he is overwriting earlier content without entering a new record in de DB table)?[/list]
Thank you for your help ! 😀
Hi Bob,
I use chronoforms V5.
How can I do the things in the FAQ in version 5?
Thanks.
Bart
I use chronoforms V5.
How can I do the things in the FAQ in version 5?
Thanks.
Bart
Hi Bart,
I think it is very similar except that DB Record Loader action is now called the DB Read action.
Bob
I think it is very similar except that DB Record Loader action is now called the DB Read action.
Bob
1 more note, in v5 "DB Read", you will need to use the conditions box since there are no "request param" or "db field":
So after you get the user id, you can use this code in the conditions:
So after you get the user id, you can use this code in the conditions:
<?php
return array("USER_ID_DB_FIELD" => $form->data["user_id"]);
Hi there,
I now can read the data from the DB but I want to overwrite stored data with new data instead of writing a new record.
Is that possible ? How ?
I now can read the data from the DB but I want to overwrite stored data with new data instead of writing a new record.
Is that possible ? How ?
This topic is locked and no more replies can be posted.