Forums

Variety of forms needed & basic form doesn't work

kimhuff 13 Nov, 2009
I have been playing around with ChronoForms most of the day. I thought I was getting the hang of things but now I am not so sure. I tried creating a basic Feedback form first.

Comments
Checkbox field if they want to be contacted
Name
Email Address
Captcha
Submit / Reset

I am happy with the way it displays (although I would like to see a RED * next to the fields that are required and I don't see how to do that), but I am not getting a response back. I did get one, but I must have changed something because I am getting nothing back now and I have tried two completely different email addresses. You can find a sample of the form here:

http://www.zimmernutrition.com/index.php/about-drz/feedback

Next, I have at least two other types of forms I need to create but I want to make sure the basic form is at least working before I invest the time in creating the other forms.

Other Forms I need include:

A form where all they need to enter is an email address. A response email will be sent with a PDF attachment of the requested book. (Tried this but this too doesn't work) Right now we have 10 booklets and I have created 10 forms (with a different Joomla extension) but I am not happy with the time it takes to process their form which is why I want to switch. Ideally, I would like to reduce the number of forms down to one. If that would work, I could see two fields, the email field and a drop down field that would list each protocol booklet. Upon submitting the form, it should send them a confirmation email along with the booklet requested in the drop down menu. Is this possible? Is there a sample form I can look at? I know I will need extra code to make the attachment part work. I found the following code in the forum.. but it didnt work. (Maybe because I cant even get the initial confirmation email, I am not sure.)

<?php
$form_id = $MyForm->formrow->id;
$MyUploads =& CFUploads::getInstance($form_id);
$MyUploads->attachments[] = 'images/stories/docs/ChronicFatigue.pdf';
?>


The other form we would like to do is allow a person to fill out our intake form online and it would then be emailed to our office for entry into our system BEFORE the patient arrived. The only concern I have is because this is a doctors office we have to find a way to encrypt the data. Is there a way to make sure the forms are encrypted or under an SSL?

Finally, I would also like to see it store the email addresses of those people that requested the protocols. We offer specials from time to time and this allows us to email the specials to all of our potential customers. I am familiar enough with PHPAdmin to grab the info from there so I thought the database connect might work but seeing how I cant get a basic form to work, I figured I should try to figure that out first.

Just to let you know, I did go through the five PDF tutorials and since it doesn't really go through all the various tabs, I wasnt sure where I had made my mistake. Is there something that takes you through all of the options on the different tabs?

Thank you for your time.

Kim Huff

**NOTE** I just tried the demo form after I changed the emails. I received the email as the person filling out the form but I didnt receive the message as the owner of the website.
GreyHead 13 Nov, 2009
Hi Kimhuff,

You have added an OnSubmit URL to your form.

There's a yellow warning triangle by the OnSubmit URL input box with a tooltip that says "Warning: don't put anything here unless you know what you are doing".

The reason for the warning is that an OnSubmit URL simple redirects the form input to that URL, ChronoForms never sees it and therefore can't send emails or save your data.

There is the same warning by the ReDirect URL box but in fact this is less hazardous and will redirect 'after' processing your data; thoughthe easiest way to add a Thank YOu page is simply to put the HTML into the ChronoForms OnSubmit After Email box.

If you want a red * then add <span style='color:red;'>*</span> to the Form HTML in the appropriate places.

ChronoForms will work with SSL as far as I know.

The attachment code should work OK if you sort out the OnSubmit URL.

Bob
kimhuff 13 Nov, 2009
Thank you for replying so quickly.

"Warning: don't put anything here unless you know what you are doing".



I actually saw this but THOUGHT I knew what I was doing. HA

Anyway, the basic form now works, thank you.

I worked on the other form that is supposed to email the PDF and I am getting a completely white screen with the word DONE in the bottom left of my browser (Firefox).

If you have any suggestions on what I am doing wrong now, I would appreciate a nudge (or maybe kick) in the right direction. LOL

http://www.zimmernutrition.com/index.php?option=com_chronocontact&chronoformname=ChronicFatigue

Also, since I seem to be closer to my goal, and maybe I am getting a little overly confident, is it possible to use a drop down option with all of the various booklets listed so all they need to do is enter the email address, select the protocol booklet and then hit submit.

Finally, back to the Feedback form. I put in an option for the Tool Tip for the Captcha. The little i graphic is there but there is nothing that pops up that explains what the captcha is for.

Thank you again,

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

VPS & Email Hosting 20% discount

{item:title} {images:#}