Hello, welcome to Vax Express, formerly known as Virtual & Apeal Studios
...........we have exciting deals this year.....
add_action( 'gform_pre_render', 'set_number_of_uploaded_images' );
// Set the uploaded images count field and make it readonly
function set_number_of_uploaded_images( $form ) {
// only run hook for form_id = 28
if ( $form['id'] != 28 ) {
return $form;
}
// make any input field with the class gf_readonly to be read-only
?>