• Hi there,

    Basically I’m creating a site for a talent agency that wants to be able to register interest from each act using a contact form. Pretty simple to do that, but they require a unique reference number to be generated for each enquiry that can be used throughout the entire transaction.

    Now I would do this using a .db file (it doesn’t have to be secure) and php code from a regular contact form, however, I’m in love with Contact Form 7 and I’d rather just add to it’s collection of shortcodes to do so.

    Having a bit of trouble though, anyone done something similar and has a clue where to start?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Oh great, thanks.
    Where should I place this code? (Sorry I’m so bad with coding)

    Oh It’s OK I’ve worked it Out.

    Thanks for All your help!

    AMCD, I’ve got a similar requirement.

    Do you know if there’s a suitable php script that would also send a predetermined set of charecters.

    What I need to do is add to the email a reference number that is from a list. And then when the next form is submitted it sends the reference number that’s second in the list etc.

    SO..

    instead of sending them a random code it will send them the first item on the list, then the next will receive the second, the next the third and so on.

    This is a really hard one, can’t get my head around it

    Can someone help me to add a counter using quiz ?
    I dont know really about the code, but it should be like this

    a = 1
    b = 1 + a
    re-write b = a
    submit a back to the database.

    This was fantastic! Thanks AMCD!!

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Contact Form 7 – Generating Reference Number’ is closed to new replies.