PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Generate random string for coupon code

  1. Hi, need step-by-step guide to add hidden field as coupon code to send it to Campaign Monitor and release it in email newsletter.
    Searched previous discussion but it seems outdated.
    Thanks a lot!

    Posted 11 years ago on Thursday May 2, 2013 | Permalink
  2. David Peralty

    Which part do you need help with? We can't write a whole tutorial for your specific use case, but we can give advice as you go along.

    Posted 11 years ago on Thursday May 2, 2013 | Permalink
  3. I am looking at this thread
    http://www.gravityhelp.com/forums/topic/random-number

    However, I just need GF to generate 5 or 6 unique string like QWERTY and send this to CM.
    I am using Woothemes' Canvas.

    How do I start?

    Posted 11 years ago on Friday May 3, 2013 | Permalink
  4. Hi David, turns out easier to do if i look at this page http://forum.gravityhelp.com/topic/guid-entry-id#post-1491

    I have one more questions, how do I get the entry id from functions.php?
    I'd like to send it to CM as well.

    Thanks

    Posted 11 years ago on Friday May 3, 2013 | Permalink
  5. David Peralty

    So have you created your string and stored it in a hidden field?

    Posted 11 years ago on Friday May 3, 2013 | Permalink