Forums

Email & Validation problem

Riceman 05 Nov, 2008
Hi,

I am having a few issues with my form. You can see it at:

http://www.skyridgemedia.com/staging/index.php?option=com_chronocontact&task=send&chronoformname=Colleague_Connection

Issue 1- I have a textarea element that is not being included in the email I receive. Here is the form element code:
<div  class="form_item"><div class="form_element cf_textarea"><label class="cf_label">Knowledge/Expertise you are seeking:</label><textarea class="cf_inputbox required" rows="3" id="knowledge_seeking" cols="30" name="knowledge_seeking"></textarea></div><div class="clear"> </div></div>

and this is the email I receive:
Colleague Connection Form Submission

Please complete the form below and we will connect you with a therapist. We will send you the therapist’s name, phone number, and email address so you can initiate contact.
First Name:Andrew
Last Name:Andrew
Discipline Requested:test
Knowledge/Expertise you are seeking:{knowledge_seeking}

Submitted by 66.91.190.233

Issue 2- I can't seem to get validation to work. Am I missing something. I thought mootools was installed by default in J1.5. Do I need to install it?

Issue 3- Image verification is working, although it does not load the same page when it throws the error message, so my sub-menu disappears.

And one final Question. I purchased a license from you for an older version of Chronoforms.(About 4 months ago, I don't remember the version off the top of my head, but can find the receipt if need be) Am I correct in assuming that the liscense is good for 5 sites. If so, can I simply use the code from the last site to enable ChronoForms for this site? How does that work.

Thanks for a great product!
Max_admin 05 Nov, 2008
Hi Riceman,

#1- I can't find any problem with this code, so, try to add another field after the textarea and see if it will get sent ?
#2- did you create the form in the wizard or that's your code ? do you have "validation enabled in the validation tab ?
#3- yes of course yopu can use it up to 5 sites, if you need the latest version then contact me through the Contact us page at the top!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Riceman 11 Nov, 2008
Thanks for the response. I have been playing around and am still getting problems.

#1- I can't find any problem with this code, so, try to add another field after the textarea and see if it will get sent ?
I tried adding another field with no luck. I also tried changing the name too, thinking there might be a character limit.

#2- did you create the form in the wizard or that's your code ? do you have "validation enabled in the validation tab ?
i used the form wizard, and then pasted that html into dreamweaver to customize it a bit. Validation is enabled under the validation tab.

Issue 3- Image verification is working, although it does not load the same page when it throws the error message, so my sub-menu disappears. I guess it doesnt see the module assigned to the "left" position that shows the menu. How do I make that work correctly?

I can give you access to the site if you need it, just pM me. also here is my form code if it will be helpful:
<div  class="form_item"><div class="form_element cf_heading"><h2 id="" class="cf_text">Colleague Connection</h2></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_text"><span class="cf_text">Please complete the form below and we will connect you with a therapist.  We will send you the therapist’s name, phone number, and email address so you can initiate contact. </span></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">First Name:</label><input class="cf_inputbox required" maxlength="150" size="30" id="first_name" name="first_name" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Last Name:</label><input class="cf_inputbox required" maxlength="150" size="30" id="last_name" name="last_name" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textbox"><label class="cf_label">Discipline Requested:</label><input class="cf_inputbox required" maxlength="150" size="60" id="discipline_requested" name="discipline_requested" type="text"></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_textarea"><label class="cf_label">Knowledge/Expertise you are seeking:</label><textarea class="cf_inputbox required" rows="3" cols="30" id="knowledge" name="knowledge_seeking"></textarea>
</div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_captcha"><label class="cf_label">Verification</label><span>{imageverification}</span><a onclick="return false;" class="tooltiplink"><img  src="components/com_chronocontact/css/images/tooltip.png" class="tooltipimg" border="0" height="16" width="16"></a><div  class="tooltipdiv">Verification :: Please type the letters shown here to submit your information.</div></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_button"><input value="Submit" name="undefined" type="submit"></div><div class="clear"> </div></div>
Max_admin 11 Nov, 2008
Hi,

#1- try to check the email template code to see if there is any html tag inside this text : {knowledge_seeking} ? try to add a new textarea at the top of your form code, make it the first field, and add the new one to your template and see.

#2- test the validation in Firefox, the validation may not work for different reasons, for example a Javascript conflict with another library in your site.

#3- this for is in a component page or an article page ?

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Riceman 18 Nov, 2008
Thanks...the validation is working now, and I found an error in the email template code, and that is working too.

The only problem I am having now is when I use the anti-spam feature "captca" It works, but when it loads the page with the error message it does not show the sub-menu for that page. This I guess is due to Joomla assigning these modules by menu items. How do I work around this?

This is a component page.

Thanks for your help. This component is a life saver! Especially with its ability to store submitted data in a DB.
Max_admin 18 Nov, 2008
Hi Riceman,

how do you access this form page ? did you assign it to some menu item ?

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Riceman 18 Nov, 2008
Yes, it is assigned to the sub-menu item "Colleague Connection" you can access the page with the sub-menu by navigating from the home page to "Resources/Therapist Resources".
Max_admin 19 Nov, 2008
good, go to your menu manager and find the "Colleague Connection" item and find the Itemid beside it, can you find this ? let me know it and let me know your form name!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Riceman 19 Nov, 2008
ItemID 18 and form name is Colleague_Connection.

I also attached a few snapshots of this info too:
[attachment=1]Picture 1.png[/attachment]

[attachment=0]Picture 2.png[/attachment]
Max_admin 19 Nov, 2008
very good, now go to your form and to the form URLs tab, set the action URL to :

index.php?option=com_chronocontact&chronoformname=Colleague_Connection&Itemid=18

let me know how this works!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Riceman 19 Nov, 2008
Thanks Max,

I am still having trouble...now it reloads the appropriate page, but does not display the Validation Error. If i take action url out(leave it blank) then i get the error, but not the correct page.(same as before-obviously)

I don't get this:
[attachment=0]Picture 3.png[/attachment]
Max_admin 19 Nov, 2008
ok, lets try this, remove the url but add this to your form code:
<input type="hidden" name="Itemid" value="18">


please let me know!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Riceman 19 Nov, 2008
That did it! Thanks.
Max_admin 19 Nov, 2008
Thanks for letting me know!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.