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

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Would like to add javascript


  1. JorgeG
    Member

    Hello. In your free version I made some code modifications to form.php and it worked fine. After purchasing the software I no longer see this file and I'm not sure where to make my modifications. I'd like to add javascript before the head tag and also add some event handlers to a few fields.

    Also, I downloaded your color templates, installed the view.css file but nothing changes. Please advise.

    Posted 13 years ago #
  2. redityo

    You will need to edit "includes/view-functions.php" file to add a javascript code into your form head tag. You can see this link for further information :

    http://www.appnitro.com/forums/topic/add-custom-javascript-to-form?replies=15

    http://www.appnitro.com/forums/topic/javascript?replies=2

    http://www.appnitro.com/forums/topic/adding-google-analytics-tracking-code-to-form?replies=5

    regarding the template color, are you sure you have put the file into the correct folder ? or the easy ways, you can follow these steps :

    1. Open "view.css" file from template color and copy the whole codes in there
    2. Go to machform admin and select the form
    3. Go to "edit css" menu and paste the whole code to there.


    MachForm Support

    Posted 13 years ago #

RSS feed for this topic

Reply