• Resolved Agencia 221B

    (@agencia221b)


    I’m making a ‘giveaway promotion’, where each liter of used cooking oil that people leave at recicling point generate a number to compete in the giveaway.

    Like: if Pedro deposit 5 liters of used oil, he wins 5 numbers to compete in the promotion.

    So what i’m looking to do with forminator: in the recicling site we’ll have a laptop with forminator form open, then Pedro fills out the form with his name and contact and how many liters he’s depositing (in this example 5). Then forminator will generate automatically 5 entries of this Pedro’s form fill out (each one with a different ID, prefereable, but not required). This way Pedro will fill the form onces but the submissions will record 5 entries for Pedro, therefore 5 numbers to compete in the giveaway.

    Is that possible?

    Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @agencia221b

    I hope you are doing well today.

    Your query seems to be complex and possible out of scope. We will need some more data in this matter before we ask our SLS Team in this matter.

    Does your mail goal is to store each user data somewehere and allow them to use form all the time, like Pedro will make multiple submission in month 1 and on his account you will see updated value of liters after each submit? If so, is there any know plugin, custom post type or value on account which you use?

    Kind Regards,
    Kris

    Thread Starter Agencia 221B

    (@agencia221b)

    Hi Kris!

    Thanks for the answer and sorry for delaying to reply.

    In fact I don’t need them to have a account at all. Just when Pedro submit that he colect, lets say, 5 liters, then forminator will record 5 submission identical of this Pedro’s submission. If in another day the same Pedro submit again, Forminator doesn’t need to identify and group both submissions.

    The main goal is: For each liter collected, the person will have a number for a giveway that we gonna do at the end of the month. So Pedro submit today informing that he colected 5 liters, then with the 5 identical submissions of him I have 5 unique ID’s available to participate in the giveaway promotion.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @agencia221b

    Thank you for the explanation.

    I believe this would be possible with some custom coding, yes, Forminator already generate an ID for the submission and you could use that, maybe the Google sheet integration can be helpful here:

    https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#google-sheets

    By default Forminator won’t send the ID to Google but we can do it by using this code https://gist.github.com/patrickfreitasdev/96e3bdf3bbbc25ca6f142855c866859f and a hidden-1 field.

    Now, to make sure we are on the same page, I am thinking of this structure:

    Form with regular fields + a number field “Oil litres”, on the submission Forminator generate the number – 1 example 5 litres would be 5 – 1 = 4 + the current submission making the total of litres.

    If that would fit, I just have a small question to be able to escalate check this further, you said here:

    If on another day the same Pedro submit again, Forminator doesn’t need to identify and group both submissions.

    We need to have a way to control it, for example, if Pedro’s Email has any submissions it would skip generating the submissions based on the number field but if no submission with that email was done before it would generate the group, does it sound good? Or wouldn’t you mind keeping generating the group at any time customer submit the number field?

    Best Regards
    Patrick Freitas

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @agencia221b ,
    ?
    We haven’t heard from you for several days now, so it looks like you no longer need our assistance.
    ?
    Feel free to re-open this ticket if needed.
    ?
    Kind regards
    Kasia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Multiple Entries by Demand’ is closed to new replies.