Generate a unique reference code per submission?
Last Post 02-15-2012 01:27 AM by robax robax. 1 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
robax robaxUser is Offline
river guide
river guide
Posts:101
Avatar

--
02-15-2012 01:06 AM

    Hi all,

    I need to build a form that generates a unique reference code when it is submitted.

    The form to be used by people who want to make a donation to a charity via online banking. I need to give the form submitter a unique code, like an invoice ID, they they then insert into the reference field when they make the payment through their online bank facilities.

    We can then match the code up with the form submission afterwards and this lets us send people their tax receipts.

    Assuming there is nothing in Dynamic Forms that can already do this, I'm wondering if it might be possible to query the database for an ID number that is being generated for another purpose. Like maybe upon each form submission there's a unique ID, and I could use that?


    Regards
    Rob

    robax robaxUser is Offline
    river guide
    river guide
    Posts:101
    Avatar

    --
    02-15-2012 01:27 AM
    I've had a look in the db and can really only see the UniqueResponseID column, but that's a littel too complex... unless someone knows how to trim just a few characters off it? (Not an sql pro here)


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi