Prefill form fileds with latest entries of logged-in user as default values
-
I need a form in a WordPress page that is only accessible to logged-in users. I would like to save user input in the database upon submission. The next time the user loads the page, the fields will be automatically filled with their most recent entries. The field can be edited and resubmitted.
I have used contact form 7, CF7DB, CF7SG, but I am struggling with using them as default values in cf7 form.
‘cf7sg_prefill_form_fields’ filter returns an array of last recorded form values, but how can I pass them default values?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Prefill form fileds with latest entries of logged-in user as default values’ is closed to new replies.