• Amy

    (@germanpearls)


    I’d like to upload each form entry’s attachments to their own folder. The name of the folder would be the {entry_id}. Is this possible?

    Thank you.

Viewing 1 replies (of 1 total)
  • Thread Starter Amy

    (@germanpearls)

    Note:
    I added this code:

    				// if {entry_id} keyword used, replace with form entry id
    
    				if ( false !== strpos( $file_dir,'{entry_id}' ) ) {
    
    					$file_dir = str_replace( '{entry_id}', $entry_id, $file_dir );
    
    				}

    to the gravity_forms_ajax_upload.php file in the change_upload_path function but it didn’t work.

Viewing 1 replies (of 1 total)
  • The topic ‘Upload to a Folder Named by the {entry_id}?’ is closed to new replies.