Support » Plugin: Booking Activities » Duplicate Form – manually

  • Resolved -MJ-

    (@-mj-)


    Hello

    To copy a form, I just have to copy the entries with the form ID from bookacti_form_fields and assign the ID of the new form. Is that correct / sufficient or do I overlook something?

    Thank you and best wishes.
    MJ


    A suggestion – maybe it is a good idea to give every field the possibility for an additional class. It would be easier to style the whole form via css.

    • This topic was modified 4 years, 8 months ago by -MJ-.
    • This topic was modified 4 years, 8 months ago by -MJ-.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author yoancutillas

    (@yoancutillas)

    Hello MJ,

    No, the booking form and each of its fields may have metadata. They are stored in wp_bookacti_meta. To find them, the “object_id” column must match the form Id or the fields ID, and the “object_type” column must be either “form” or “form_field”.

    The field order is stored as an array in the form metadata, you will have to change the fields IDs here too (or simply manually reorder your fields).

    Note that I haven’t tried to duplicate forms that way, make sure to test thoroughly.

    Regards,
    Yoan Cutillas

    Thread Starter -MJ-

    (@-mj-)

    Hello Yoan,

    Thank You!


    and sry for late replay .. was on vacation

    Thread Starter -MJ-

    (@-mj-)

    Hallo Yoan

    a) The secret key is any 32 char/digit uniqe key.
    b) ‘bookacti_meta’ is the only place for this key.

    Right?

    Thank you in advance,
    MJ

    Plugin Author yoancutillas

    (@yoancutillas)

    Hello MJ,

    Yes, that’s it.
    This Secret key is useful only if you export your form events or use the export URL to sync them on another app.

    It’s generated automatically if it’s not defined.

    Regards,
    Yoan Cutillas

    Thread Starter -MJ-

    (@-mj-)

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicate Form – manually’ is closed to new replies.