Support » Plugin: Participants Database » How to duplicate record?

  • Is it possible to make a duplication of an existing record?
    And would it be possible to do this on the frontend?
    I need this feature to make a new record in situations where there’s a lot of data repetition. For instance, a guest freqently visits and each visit is a single record. In those records there are some (a lot) constant information. How could this be done?
    Thank you in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yes, this can be done with a custom template, but where will the values come from?

    The values will come from the pdb_single page.
    Thank you for your reply

    Plugin Author xnau webdesign

    (@xnau)

    OK, that sill does not answer the questions because the pdb_single page is given the ID of the record to display. In your form, how will you know with record ID to use?

    Hello!
    I’ve been away for a while, sorry.
    I’m still trying to figure this out.
    Well, the ID should be new, randomly generated, I suppose.
    Any idea on that? Solving this would really be a lifesaver.
    Thank you anyway!

    • This reply was modified 1 year, 6 months ago by eljailer.
    Plugin Author xnau webdesign

    (@xnau)

    OK, the ID you need is the ID of the record that will provide your source data. The id of the new record will be assigned automatically, so you don’t need to know that. Are you good with php code? You’ll need to create a special template for this.

    Well, my php skills are not so good, but I managed to customize your plugin quite a lot, especially by following your tutorials and customization guides on your web site.
    I’m still learning, but I think I could do this, but I surely need some help.
    Could you please help and point me in right direction?
    Thanks in advance!

    Plugin Author xnau webdesign

    (@xnau)

    Yes, well you need to decide which record you want the pre-filled values to come from.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to duplicate record?’ is closed to new replies.