getValue('iphorm_X_X') file attachment show null?

Home Forums Quform WordPress getValue('iphorm_X_X') file attachment show null?

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12217
    hendratok
    Participant

    Hi, please help me. I try use wp_insert_post to add_post_meta (custom field)

    $file = $form->getValue(‘iphorm_1_6’);
    add_post_meta($post_id, ‘file’, $file);

    and iphorm_1_6 is attachment field, that jpg/png file..

    when I try submit form. the $file is always show empty.. please help. thanks

    hendra

    #12219
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #12220
    hendratok
    Participant

    Thanks Ally, I tried disable the flash upload. still get null for the $file. ok I just sent the file functions.php info@themecatcher.net thanks

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy