Tell us what you are trying to do? Upload multiple images with Gravity Forms
Is there any documentation that you are following? https://toolset.com/forums/topic/how-to-upload-multiple-images-with-gravity-forms/
Is there a similar example that we can see?
What is the link to your site?
What I found - but this is based on ACF Gallery:
add_action( 'gform_after_create_post_1', 'lc_gp_media_connect_to_acf_field', 10, 3 );
/**
 * Attach the uploaded images to the created post.
 *
 * @param int   $post_id    The Post ID for the post created with the form.
 * @param array $lead       The Lead Object.
 * @param array $form       The Form Object for the form used to create the post.
 */
function lc_gp_media_connect_to_acf_field( $post_id, $lead, $form ) {
	// Is the gp_media_library perk activated?
	if ( ! function_exists( 'gp_media_library' ) )
		return;
	$file_ids = gp_media_library()->get_file_ids( rgar( $lead, 'id' ), 2 );
	update_post_meta( $post_id, 'gallery', $file_ids );
}
 
And based on the reply from Your supporter:
In Toolset side, the custom multiple instance fields store same meta_key value but different meta_value value, for example:
meta_key: wpcf-my-field, meta_value: hidden link
meta_key: wpcf-my-field, meta_value: hidden link
One thing need to pay attention to:
If the custom field is created with Toolset Types plugin, you need to prepend "wpcf-" before field slug in your custom PHP codes, for example custom field "my-field", in WP database table "wp_postmeta", column "meta_key" value is "wpcf-my-field"
If You could help me to change the above function, that I will get my files in my Image type field.
What woud be the meta_value? Is this the link from the image?
Regards,
Simon