• Hello,

    Love this plugin!

    Is there an “easy” way to pre-load CF7-fields with data from a set of data from another CF7 stored in CFDB? Ie. the user enters a unique identifier in the new form – the form looks in CFDB for the identifier and retrieves 3 related field values?

    Any plans for supporting Super Forms from Feeling4design ?
    It’s a very nice formbuilder, with great potential.

    Thanks very much.

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

    (@msimpson)

    No “easy” way. No plan at this time.

    Thread Starter LarsHdg

    (@larshdg)

    Hello Michael,

    That was short ??
    Can you somehow give a short walk through of what is needed to fetch these data from the “old” CF7 forms, stored in CFDB? Then I’ll give it a shot of working my way through a not so easy solution ??

    I tried to create a shortcode in which the user could type the unique ID and then it would return a table with 1 line of the missing data. But, unless I predefine the shortcode to search for “2345” then it just returns all data.
    How do you specify a call to the shortcode for a specific search? A search box for just that key?

    Specifying and using the [cfdb-table…] and [cfdb-datatable…] shortcodes I get a full table with all the entries. I can add an argument for the first xxx lines of the entries. But, how do I specify the table to be paginated – like 50 lines per page?

    Thanks ??

    BR Lars

    Plugin Author Michael Simpson

    (@msimpson)

    This article shows you how to populated drop-downs from CFDB data:
    https://cfdbplugin.com/?page_id=1435

    This article shows how to create a search form that passes the search value to a shortcode
    https://cfdbplugin.com/?page_id=680

    Thread Starter LarsHdg

    (@larshdg)

    Hello Michael,

    Thanks for feedback – looks do-able ??

    Regarding pagination for [cfdb-table…] and [cfdb-datatable…] shortcodes – is there a hidden trick/argument to include to divide a table-listing into pages of eg. 50 lines per page or likes?
    For one table with +300 entries, I get all the entries one page.

    BR Lars

    Plugin Author Michael Simpson

    (@msimpson)

    Although it loads all data in the table, datatables can display only some at a time and let you paginate by setting the iDisplayLength

    [cfdb-datatable form="your-form" dt_options="iDisplayLength:10"]

    https://cfdbplugin.com/?page_id=91#dt_options

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Preload CF7-form with data from CFDB’ is closed to new replies.