ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

freeform post to mutliple tables at once

December 02, 2011 9:49am

Subscribe [2]
  • #1 / Dec 02, 2011 9:49am

    digitalbart

    29 posts

    Can free form post to the channel_data table along with posting to the free form tables. I want to have people fill out a web form but also post to channel data table where I will have a editor approve an entry in the channel data form.

    Thanks,
    Bart

  • #2 / Dec 04, 2011 1:43pm

    pushloop

    422 posts

    Why not set up a SafeCracker form alongside the Freeform form, and have them both submit with the same submit button using JavaScript/jQuery?

  • #3 / Dec 04, 2011 1:46pm

    pushloop

    422 posts

    Ah, I just realized you wanted the same fields for both forms, right?
    In that case, use two forms like I just suggested, but hide the Freeform form (either the whole form or by using hidden fields) and have jQuery copy all the entered data from the SafeCracker fields to the Freeform fields before first submitting one form and then the other.

  • #4 / Dec 05, 2011 4:13pm

    digitalbart

    29 posts

    Ok thanks I will give that a try.

  • #5 / Dec 05, 2011 5:18pm

    pushloop

    422 posts

    Good luck - let us know how it works out, and please share your solution if it does!

    Also, if anyone has another/better idea don’t hesitate to let us know 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases