User send details to other CB user from profile

ronyeli 11 Dec, 2008
Hi, i am new to this so please try to help me with patient🙂
What i am trying to do is this:
I have set up members with a "publisher" permissions as doctors and on their profile i want to add a form that when a guest or a registered user submit he will send the information to the doctor (CB user with publisher permissions).
So the form will be easy but it will sit on the user profile and will send him and only him the email (it will also send a copy to the admin)
If this is not possible, so as a last resort if it's possible to make a form in the same spirit that will have an option "select a doctor to contact" and it will list all doctors to choose from, and then it will send the email to the selected doctor...

I will deeply appreciate any help!
sorry for my English...🙄
Thanks.
GreyHead 11 Dec, 2008
Hi ronyeli,

You can do this with ChronoForms. You will need to write two small pieces of code.

In your form html you will need to identify the current page and teh doctor it relates to and save this informtation in a hidden field.

In the OnSubmit code you will need to look up the doctor's email address to send the email - better not to include emails on the visible pages.

Bob
ronyeli 11 Dec, 2008
Dear GreyHead, thank you for responding so fast...you guys are great and have a great support ci=onsidering this is a free component...i haven't seen such great supposrt from commercial ones...bravo.
Unfortunately, i am new to this and although i understand what you explained...i can't put it into actions🙂
Do you think it will be to much for me to ask from you the steps with example codes?
I am willing to pay if it's too much trouble...
GreyHead 11 Dec, 2008
Hi ronyeli,

Sorry, it's been a very busy day. I'll try and look at these code samples as soon as I can - but they aren't two minute pieces that I can do off the top of my head.

Bob
ronyeli 12 Dec, 2008
Wow...that will be great if you can help me accomplish this...thank you : :wink:
This topic is locked and no more replies can be posted.