Recent content by cshort

  1. C

    Create Multiple (slightly different) Records on Submit

    Hi Hannah, I was hoping to not have to reinvent the wheel. Since the function to save the form data to the database is already there, I just want to initiate it several times with the manipulated arrays of form data. Ill keep trying and let you know if I find a solution
  2. C

    Create Multiple (slightly different) Records on Submit

    Hi Hannah, I really appreciate your help! There's no issue in creating the different arrays of data with the new dates, I can do that no problem. What I can't figure out how to do is save each new array as a new record. The problems start at this line: $formModel->processToDB();.
  3. C

    Create Multiple (slightly different) Records on Submit

    Awesome thanks Hannah! This is a full dump of the form data: array(74) { ["mpm_fabrik_deals___id"]=> string(1) "2" ["mpm_fabrik_deals___date_time"]=> string(19) "2015-04-15 08:55:01" ["mpm_fabrik_deals___account_id-auto-complete"]=> string(34) "001C0000018eI3o - The Little Snail"...
  4. C

    Create Multiple (slightly different) Records on Submit

    Hi Hannah, thanks for your reply. I would love you to help me too! What i'm trying to do is interrupt the normal Fabrik submit function by manipulating the array of data (multiple times, depending on how many 'feature dates' the user adds to the form group) and then save each data array as a new...
  5. C

    Create Multiple (slightly different) Records on Submit

    I have an update on my code: It creates one new record per feature date :) BUT each new record is missing different data :( PS i'm using 'onBeforeProcess' as the 'process script' in the php form plugin $dates = $formModel->formData["mpm_fabrik_deals_8_repeat___feature_date_raw"]; $count = 0...
  6. C

    Loving Fabrik!

    Loving Fabrik!
  7. C

    Create Multiple (slightly different) Records on Submit

    Hi everyone, i'm really hoping someone can help me out with this issue, it's driving me nuts! Using the form php plugin i'm trying to submit and clone a record based on how many repeatable items are added by a user. For example, when a user submits the form... My form has a 'feature date'...
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top