• Resolved castouridev

    (@castouridev)


    In Admin, forminator plugin , the submissions links shows all submitted data… but in the details view which shows all fields that are blank too… we don’t to show fields with blank data… we need to show only field contains data… can you please show the way to fix… it very helpful we get the support as earliest as possible.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @castouridev,

    I hope you are keeping well and thank you for reaching out to us.

    I am afraid, it’s not possible to hide the fields with no submission data in Forminator Submissions. And it looks like it might require some complex programming to achieve this which will fall out of the scope of support. However, I have pinged our developers to see if possible to help with this. We’ll update you here if a workaround could be suggested.

    Kind Regards,
    Nebu John

    Thread Starter castouridev

    (@castouridev)

    Hi Nebu John

    Is it possible to get the fix for this as earliest… it gives much confusion when collecting data through admin… it is very urgent too…

    Plugin Support Nebu John – WPMU DEV Support

    (@wpmudevsupport14)

    Hi @castouridev,

    Can you please try the following workaround and see if that helps?

    <?php
    
    add_action( 'admin_footer', 'wpmudev_remove_empty_fields_admin', 9999 );
    function wpmudev_remove_empty_fields_admin() {
    	if ( ! isset( $_GET['page'] ) ) {
    		return;
    	}
    
    	if ( 'forminator-entries' !== $_GET['page'] ) {
    		return;
    	}
    	?>
    	<script type="text/javascript">
    	jQuery(document).ready(function($){
    		$('.sui-accordion-item-content').find('.sui-description').each(function(){
    			if ( '' === $(this).text() ) {
    				$(this).parent().parent().remove();
    			}
    		});
    	});
    	</script>
    	<?php
    }

    The code could be added using a mu-plugin, I hope the following guide comes in handy: https://wpmudev.com/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    Kind Regards,
    Nebu John

    Plugin Support Kris – WPMU DEV Support

    (@wpmudevsupport13)

    Hi @castouridev

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved. If you have any additional questions or require further help, please let us know!

    Kind Regards,
    Kris

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.