• Resolved phixate

    (@phixate)


    I am trying to use CFF to pass data to another CMS, but it requires the fieldnames to be specific. I don’t think there is a way to change fieldnames with CFF is there?

    • This topic was modified 4 years ago by phixate.
    • This topic was modified 4 years ago by phixate.
    • This topic was modified 4 years ago by phixate.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @phixate

    No, the fields’ names are generated dynamically, and they cannot be modified. However, if you need the integration with a third-party CMS, do not hesitate to contact me through my private website: Contact Us

    Best regards.

    Thread Starter phixate

    (@phixate)

    Could I change the fieldnames with this file before saving to CSV?
    https://www.ads-software.com/support/topic/field-names-and-dynamic-fields/

    “The code to use in the ‘cp_calculatedfieldsf_insert_in_database.php’ file would be:”

    
    <php
    if($params[ 'formid' ] == 1)
    {
    $_POST['address'] = $params['fieldname2'];
    $_POST['username'] = $params['fieldname4'];
    }
    elseif($params[ 'formid' ] == 2)
    {
    $_POST['address'] = $params['fieldname8'];
    $_POST['username'] = $params['fieldname2'];
    }
    /** CALL YOUR SERVER SIDE CODE HERE **/
    

    Does this file work inbetween the collection of data and the other operations on submit like sending emails, saving as CSV, etc? Example, Submit–>Change fieldnames–>Save as CSV and send email.

    Would all I need to do is change my form number and match the new fieldnames in the $_POST to the &params?

    • This reply was modified 3 years, 12 months ago by phixate.
    • This reply was modified 3 years, 12 months ago by phixate.
    • This reply was modified 3 years, 12 months ago by phixate.
    • This reply was modified 3 years, 12 months ago by phixate.
    • This reply was modified 3 years, 12 months ago by phixate.
    • This reply was modified 3 years, 12 months ago by phixate.
    Plugin Author codepeople

    (@codepeople)

    Hi! We’d like to help but we can’t reply about that in this forum. We are not allowed to support any customers in these forums.

    For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing fieldnames’ is closed to new replies.