Who send message with user roll in contact form

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Who send message with user roll in contact form

Post by amir2314 »

Hi dear pablo .
.
Is there any code or any way to add contact form to now who one send message? base on user roll or username that logedin to the site ?
.
Is it possibel to add login name to contact form to show the username after send message ?
Last edited by amir2314 on Thu Dec 01, 2022 1:56 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Who send message with user roll in contact form

Post by Pablo »

User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Who send message with user roll in contact form

Post by amir2314 »

Pablo wrote: Thu Dec 01, 2022 1:56 pm Related topic:
https://www.wysiwygwebbuilder.com/forum ... hp?t=89039
Pablo wrote: Thu Jul 16, 2020 5:17 pm I cannot teach you how to implement custom code.
But you can try this in a hidden field:

Code: Select all

<?php echo $_SESSION['username']; ?>
put this code to the editbox on Value Field ? ls this your mean ?
User avatar
amir2314
 
 
Posts: 318
Joined: Wed Aug 02, 2017 12:16 pm

Re: Who send message with user roll in contact form

Post by amir2314 »

Pablo wrote: Thu Dec 01, 2022 1:56 pm Related topic:
https://www.wysiwygwebbuilder.com/forum ... hp?t=89039
What about Custom Filed Added ? I test it on Editbox thats Worked . So How can I set Extra Field on custome filed To Editbox like User Name ? I have to change Username Ti extra 1
Extra2 or extra 3 ...
User avatar
Pablo
 
Posts: 21569
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Who send message with user roll in contact form

Post by Pablo »

Custom profile fields are not stored in sessions.
Post Reply