I have read FAQ 31 and other forum questions but there is no answer to the following so far.
I am evaluating your software and unfortunatelly do not know much neither about CF nor about PHP. So far I am very impressed but there is an immediate issue I need to solve, and it is to send the content of my form to a specific email address based on criteria condition which could be hardcoded on my php code.
In other words, there are 5 people who will take care of the applicant based on the College criteria which is its ZipCode,City,EmailsCounter:
Something like:
if zipcode=xxxx1 and city=A and EmailsCounter then UseEmailaddress= [email]representative1@domain.com[/email]
if zipcode=xxxx2 and city=A and EmailsCounter then UseEmailaddress= [email]representative2@domain.com[/email]
if zipcode=xxxx3 and city=C and EmailsCounter then UseEmailaddress= [email]representative3@domain.com[/email]
I thank you for your reply.
PD+
Basically the FAQ #31 code is what you need plus some extra PHP to handle the conditions.
What happens if EMailsCounter is not set?
Bob
Thanks for your quick reply.
I have reviewed the code and certanly the login does not seem to apply to my case, can you please provide me with a sample code so I can apply it to my particular problem?
I hope this is not too much to ask.
Thanks in advance.
PD.
I don't understand where the login comes into this??
The basic code you need is in FAQ #31 but you'll need to add the PHP to include the test for the extra conditions.
Bob
PS I'm sorry but as it says in the Asking Questions in the Forums sticky posts here.
F. Please do not ask us to Code your Form for you (unless you are prepared to pay). ChronoForms makes it very easy to create forms using the built-in Wizard or to copy and paste code from any HTML editor. We are happy to help out but we don't have the time to do basic work for free.
G. Please don't ask us to give you basic help with HTML, CSS, PHP or JavaScript. If you want to use the full power of ChronoForms and of Joomla then you ae going to need some basic coding skills. There are excellent tutorials on the net and they should really be your first point of reference. Michelle Steigerwalt's post on the Mootools blog Help I don't know JavaScript is an excellent place to start - not just for JavaScript.
I did read that part, however, I noticed how helpful you were on post: http://chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&p=43125#p43125.
I just assumed you would not mind help me on this one, but I am researching the answer and I think I am in the right track thanks to your handy blog.
Thanks again!
How much code gets written here depends on a whole bunch of things. [list]
None of these may apply to your request; I just thought I'd answer your general question as I'm sure that other people have the same thought.
Bob