Required Email Address(es) field.

Please post any ChronoForms bugs you found here

Required Email Address(es) field.

Postby rrhode on Wed Apr 30, 2008 3:16 am

I was talking to Max in email. He said to post here so I am posting here.

To be clear, there are multiple forms on this site, so hacking the component to ignore the primary Email Address(es) field on the General tab is probably not a good idea.

Our 'Tell A Friend' form looks like this:

Subject:
Friends name:
Friends e-mail:
Your name:
Your e-mail:
Short message:

When I turned off the Email the results in the General tab and didn't enter an email address I never got an email to the Friends e-mail field. It won't let me set Email the results to Yes and not enter an email in the Email Address(es) field on the General tab.

I am not sure if maybe I just didn't do it right or what but what I was trying to do is have it so it only sends to the Friends e-mail field which I added into the Special Fields tab.

Another thing I am thinking about that I can't figure out how to do is the possibility of sending it to both emails. For example the form would have a check box that says 'Send a copy of this to myself'. Is there a way to do that? Or would I have to code some php and use Joomla functions?

Thanks,

Ryan
rrhode
Fresh Boarder
 
Posts: 2
Joined: Tue Apr 29, 2008 8:06 pm

Re:Required Email Address(es) field.

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

Hi Ryan,

you didn't ping me with an email when you posted here though!! :)

So, lets fix the first problem first, can you go the admin.chronocontact.html.php file and find the javascript line which checks for email address and hack it so it doesn't do this check ? let me know how this goes!

Cheers

Max
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms 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
User avatar
admin
Platinum Boarder
 
Posts: 2313
Joined: Mon Aug 14, 2006 5:29 am

Re:Required Email Address(es) field.

Postby rrhode on Sun May 11, 2008 12:47 pm

When in Joomla 1.5 and sef mode enabled I also had to hack the actionurl in the frontend files chronocontact.html.php to add the Joomla root or it gave an error: No input file specified.
Code: Select all
$actionurl = JURI::root().'index.php?option=com_chronocontact&task=send&chronoformname='.$rows[0]->name;


So that form seems to work good enough for now at least :)

Not too worried about the send to another email thing then.

Thanks.
rrhode
Fresh Boarder
 
Posts: 2
Joined: Tue Apr 29, 2008 8:06 pm


Return to ChronoForms Bugs

Who is online

Users browsing this forum: No registered users and 2 guests