Support

Account

Home Forums ACF PRO Random code field for coupons system Reply To: Random code field for coupons system

  • Hey @keithlock,
    Thanks for helping.

    It’s seems to be a good solution, except that I don’t know how many coupons there’s gonna be, plus what if I make 3 coupons, then want to add another one? I should update the number input over and over again?

    In addition to that, I can’t understand where I should put that piece of code? I need that in the moment that someone make a new row in the repeater input, it will get the “EXAMPLE” word and add to that some 3 random number.

    There is some function/hook to run in the second that user create new row in reapter? so I can run a function that get the steady field word and add to that random number and update the sub-field?