How to capture Logged In User with Contact Form 7 4.8 & CFDB – Fix Inside
-
For those wishing to capture a logged in user with CFDB and the latest CF7 the fix is extremely simple….
Add a hidden field to the form where you wish to capture the user id like this:
[hidden LoggedUser default:user_login]
You can change the LoggedUser part to whatever you wish. Save the form, clear the cache if you use one and voila! The the logged in users name will be added under its own column in the database.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to capture Logged In User with Contact Form 7 4.8 & CFDB – Fix Inside’ is closed to new replies.