This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Is there a way to have the email responses rotated?
Started 11 years ago by heatherbartolotta | 2 posts |
-
Hello,
I am using Machform to create a request information page.
We would like the form submissions to rotate through a group of people.This isn't exactly how we want it to work, but for sake of simplicity lets say we have 3 brokers.
We would want each contact request to rotate through those brokers so they would each get an even number of responses.For example if 6 people visited the website and filled out the contact form.
The first submission would go to broker #1
second submission to broker #2
third submission to broker #3
fourth submission (loops back) to broker #1
fifth submission to broker #2
sixth submission to broker #3Does that make sense?
I was able to do it in our old PHP form with code that looked something like this:
I would first insert the form into the database and then (this will be off from my above example, we did not break it up evenly on purpose and had only 2 brokers. But I think the above example might apply to more people and if I can get that to work I am sure I can tweak it to meet my needs)
$IDNumber = mysql_insert_id();
if ($IDNumber % 4) {
$broker = "Broker1@test.com";
} else {
$broker = "Broker2@test.com";And then we would send the email to whoever the $broker was.
Is there a way to do this in Machform?
Or code it into Machform?Or is there a way I can integrate my current code with my new Machform page to get the results we want?
Thank you.
Posted 11 years ago # -
@heatherbartolotta: You have full access to the Machform code and your license allows you to modify it as you see fit, so you can certainly, with enough knowledge, time, and effort, add this functionality to Machform. I can't tell you how to go about it however. If you don't get a response on this forum soon, you might want to contact Appnitro directly about this issue:
http://www.appnitro.com/contact
Depending on the complexity of what needs to be done to customize the code, they may provide some help for you to make the changes you want.
Posted 11 years ago #
Reply
You must log in to post.