Sep 15th, 2010, 5:54 PM
Hi Sumanguj,
Sure, no problem! You can do this with the Submission Pre-Parser module. See here:
http://modules.formtools.org/submission_pre_parser/
That module lets you run your own code when the submission is first submitted. What you would do in your case would be to populate a submission field with a random value, in whatever format you want. You could then use that value in the email template to email the user.
You might want to give this tutorial a look over. Even though it's about a different topic (displaying data on POST form redirect pages), it covers the same subject: how to create a custom "unique field" in the database and have it populated with a random value:
http://docs.formtools.org/tutorials/post...rect_data/
Hope this helps, and good luck!
- Ben
Sure, no problem! You can do this with the Submission Pre-Parser module. See here:
http://modules.formtools.org/submission_pre_parser/
That module lets you run your own code when the submission is first submitted. What you would do in your case would be to populate a submission field with a random value, in whatever format you want. You could then use that value in the email template to email the user.
You might want to give this tutorial a look over. Even though it's about a different topic (displaying data on POST form redirect pages), it covers the same subject: how to create a custom "unique field" in the database and have it populated with a random value:
http://docs.formtools.org/tutorials/post...rect_data/
Hope this helps, and good luck!

- Ben