ChronoForms + SOBI2

Post any questions you may have here

ChronoForms + SOBI2

Postby dalbeck on Thu May 01, 2008 2:13 am

Hey Everyone,

Does anyone know if it is possible to combine chronoforms with SOBI2 in the details page of a listing? The way I have this setup is we monitor company's selling our products and we have a letter we send out if they are in violation so I want to make a form in chronoforms and implement it in the SOBI2 details page.

Can this be accomplished? Appreciate anyone's help!
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm

Re:ChronoForms + SOBI2

Postby GreyHead on Thu May 01, 2008 2:35 am

Hi dalbeck,

See the SOBI2 wiki here . . . the "Other Data (Non-SOBI2 fields related)" is what you want. Not tested - good luck!.

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3374
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:ChronoForms + SOBI2

Postby dalbeck on Thu May 01, 2008 2:42 am

Thank you I actually just stumbled across that thank you! I am having a brain fart at the moment would someone be able to help me out here? This is what I want to accomplish:

A form that just has an upload box, it will already have a message setup to send in an email, and when they upload the file it will attach to the email. Could someone give me a tip on this and where I should be posting these things.

Thanks again :)
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm

Re:ChronoForms + SOBI2

Postby admin on Thu May 01, 2008 5:08 am

Hi, so you want to show a Chronoforms form inside the SOBI2 details page ?
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3109
Joined: Mon Aug 14, 2006 5:29 am

Re:ChronoForms + SOBI2

Postby dalbeck on Thu May 01, 2008 10:55 pm

Yeah, I will attach a screen shot of how my setup is. Where it says "Email Section" I am using mailto links that generate the users email from the SOBI2 details page a message and signature but I want to be able to attach files directly form there and be able to paste a message that is a full page long that the mailto function isn't allowing me to do.

Post edited by: dalbeck, at: 2008/05/01 18:56<br><br>Post edited by: dalbeck, at: 2008/05/01 18:56
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm

Re:ChronoForms + SOBI2

Postby dalbeck on Thu May 01, 2008 10:58 pm

Sorry couldn't attach my image to last post here it is. Image
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm

Re:ChronoForms + SOBI2

Postby admin on Sat May 03, 2008 1:40 am

Hi dalbeck,

If I understand you correctly then why you dont make those mailto links to a Chronoforms form ?
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3109
Joined: Mon Aug 14, 2006 5:29 am

Re:ChronoForms + SOBI2

Postby dalbeck on Sat May 03, 2008 5:04 am

That is what I need help with, I am not that great with forms lol. I am trying to make a form that has a body of text alread there and will be able to pull data from my SOBI2 entry by placing the php codes in. But I want to also have the form be able to pull an attachment off of the Intranet server automaticlly so when you click on the link to send warning letter it will pop up with the letter already typed in and the pdf already attached.

Any help? I appreciate your responses!
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm

Re:ChronoForms + SOBI2

Postby admin on Sun May 04, 2008 11:20 pm

Hi dalbeck,

I see pretty good amount of work, I didn't do it before so cant give quick examples too! :)
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3109
Joined: Mon Aug 14, 2006 5:29 am

Re:ChronoForms + SOBI2

Postby dalbeck on Mon May 05, 2008 2:31 pm

Well I know the code for the PHP with SOBI so I just need help making a form that already has a body of text typed in to it, and either the file automactically attached to it or and upload box to select the file. Any examples with that? Thanks again for your help!
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm

Re:ChronoForms + SOBI2

Postby admin on Mon May 05, 2008 6:10 pm

which file is attached ? you can add the normal field code of type file, whats the problem with this ? or if you need to attach some file automatically on submit then add the file path to the attachments[] array onsubmit before email! ;)

Cheers

Max
ChronoForms/ChronoConnectivity/ChronoComments Developer Thanks for using our components!
If you have any problems with any extension please tell us.
If you like any of our extensions please post a review at Joomla.org
Want users to submit their content to your website ? try Submit Story
Want to list/edit/delete your data ? try ChronoConnectivity
Want to have stylish AJAX comments ? try ChronoComments
User avatar
admin
Platinum Boarder
 
Posts: 3109
Joined: Mon Aug 14, 2006 5:29 am

Re:ChronoForms + SOBI2

Postby dalbeck on Mon May 05, 2008 7:11 pm

All of these options sound fine, its just I am not sure what code to enter where in ChronoForms.
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm

Re:ChronoForms + SOBI2

Postby GreyHead on Wed May 07, 2008 8:49 am

Hi dalbeck,

In your form html add the text you want and either a file upload field or a select box to identify the form. Include hidden fields for your SOBI2 data.

In the 'OnSubmit before email' set the values for the hidden fields by doing a lookup in the SOBI2 table, and look up and set the attachment values for your file.

In the Email template field construct the email you want to send including field values as needed.

Bob
Bob Janes
info at greyhead.net
ChronoForms Support If you like ChronoForms please vote or post a review at Joomla.org
User avatar
GreyHead
Platinum Boarder
 
Posts: 3374
Joined: Tue May 29, 2007 10:15 pm
Location: Brittany

Re:ChronoForms + SOBI2

Postby dalbeck on Mon May 12, 2008 4:26 pm

Thanks for all your support, 2 more questions; would you be able t give me an example of what to put in the "on submit before email sent" area and what is the line of code I would need to add an upload field? I have in the email template the message I want to send formatted to my likings, and then I have "<?php echo $fieldsObjects['field_contact_person']->data; ?>" in the On Submit Before Sending section (dont think that is right though).

Not sure what yo put in the HTML section or JavaScript section.
dalbeck
Fresh Boarder
 
Posts: 17
Joined: Thu Nov 29, 2007 4:34 pm


Return to ChronoForms Questions & Answers

Who is online

Users browsing this forum: MSN [Bot] and 9 guests