Hi there,
Is there any neat way I can provide a client with an auto incremented number, a unique support ticket (the cf_id is fine), in the email sent out immidately after submit?
Emails are working fine, I know how to get cf_id from the form table using php and it executes nicely in the On Submit events. But, since the record is not created at the time when an email is generated, I currently only get the last id. I fear I'll have to do tricks, e.g. with a helper table that generate a number which will later be stuffed into the form's table.
But, before I go down that path to what has perhaps been solved 2,000 times over before I arrived, I'll ask here. Obviously I have searched the forum, read the FAQ (especially the "Can I run PHP code when the form is submitted?") and tried tutorials, but no luck.
Thank you for you assistance.
/Balslev
Is there any neat way I can provide a client with an auto incremented number, a unique support ticket (the cf_id is fine), in the email sent out immidately after submit?
Emails are working fine, I know how to get cf_id from the form table using php and it executes nicely in the On Submit events. But, since the record is not created at the time when an email is generated, I currently only get the last id. I fear I'll have to do tricks, e.g. with a helper table that generate a number which will later be stuffed into the form's table.
But, before I go down that path to what has perhaps been solved 2,000 times over before I arrived, I'll ask here. Obviously I have searched the forum, read the FAQ (especially the "Can I run PHP code when the form is submitted?") and tried tutorials, but no luck.
Thank you for you assistance.
/Balslev