• Resolved Anton_Th

    (@anton_th)


    Hi,
    I’m trying to submit a form to a remote URL. It works perfectly with ID/Value pairs while I’d like to have Slug/Value pairs.
    I’m using this to replace it but somehow it seems to skip all the dropdowns.

    foreach( $data as $field_id => $field_value ){
            $data[ $form[ 'fields' ][ $field_id ][ 'slug' ] ] = $field_value;
        }

    My php-skills are limited. Can anybody see what’s wrong here?

    • This topic was modified 7 years, 6 months ago by Anton_Th.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Change ID to Slug in remote submission’ is closed to new replies.