Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    CFDB does not currently support putting data into a form.

    Thread Starter web256

    (@maustyle)

    hi Micheal

    I am a web developer and I am confident I can insert the data behind an SQL request and a jQuery manipulation.

    How to find the best way for sending the data via a custom or already existing JS function?

    I would like to have a button called “Save to database” that triggers that function.

    As I mentioned before, I can retrieve the data and populate the form.

    Thank you

    Plugin Author Michael Simpson

    (@msimpson)

    Retrieving data: On the CFDB Short Code Builder page, choose a form and Export File = JSON. It displays a link you could use for AJAX. Add filters to select the saved submission you want.

    Writing data: On submission of the form, you would need to write some back-end PHP code to update the submission values if they exist. It is related to: https://cfdbplugin.com/?page_id=747

    Thread Starter web256

    (@maustyle)

    Thanks for your reply, Micheal, it looks good !!

    I’ll update this thread with my code, once I have it working.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pre-populate CF from DB’ is closed to new replies.