Forums

How chrono forms will know who is the owner of some object?

pepe100 12 Apr, 2010
This is the first time that I use chronoform and please for a little help.
I want to build something simple but I do not know if and how is it possible to do with crono forms .. and please if you can give me advice where and how to start.

I have a gallery in which users can publish their pictures.
Can I make a simple contact form through which guests/buyers can ask/order photos directly from the photo owner?

Can I call the (raw format of) cronoforms (in the popup) directly from the gallery and how to sent owner id to the chrono forms where "Dynamic To" is actually an email of the photo-owner/recipient...?

And this email will be sent direct and only to the owner.
How to make this if is possible?

Thanks
Pepe
GreyHead 12 Apr, 2010
Hi Pepe,

Probably you can do this. I'm not certain about calling the form in the Pop-up. That might take some extra coding but otherwise this is practical.

Bob
pepe100 13 Apr, 2010
Thanks Bob,
My knowledge of coding is very limited but I found simple way to send this information to ChronoForms using this code
$user_id	= JRequest::getVar('user_id',$value);

I using format=raw to call CF in the popup and now I can send email but problem is only validation etc. (user now can send empty email)
How to change patch in the case of raw format and what i need to call for geting this to work?

Thanks
Pepe
This topic is locked and no more replies can be posted.