This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 4

Hide Total Price only on the first page of a multipage form


  1. Perigaum
    Member

    Hello Yuniar.

    I have been using this powerful form builder for several years. Very good work. It's fantastic.

    I need hide the Total Price only in the first page. I have got a multipage form.

    Can You help me?

    Thank you.

    Posted 6 years ago #
  2. yuniar

    You can use custom javascript file for that.

    First, create a file and name it like "custom.js". Put this code inside the file:

    $(function(){
    	if($(".ap_tp_num_active").text() == '1'){
    		$(".total_payment").hide();
    	}
    });

    Then upload the file into your site, so that you could access it using URL like:
    http://www.example.com/custom.js

    Then edit your form, go to the form properties tab and turn on the "Load Custom Javascript File" option.
    Put the above URL there.

    That should do it


    MachForm Founder

    Posted 6 years ago #

RSS feed for this topic

Reply