Home Forums Porto Template How can i add new contact form?

This topic contains 1 reply, has 2 voices, and was last updated by  Support2 8 months, 1 week ago. This post has been viewed 195 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #10025987


    Hello my friend. I want to add a different form in the different page in my website. For example;price offer form.

    In form fields;

    – Name
    – Email
    – Phone
    – “Dropdown menu: -company, – blog, e-commerce, etc.”
    – Message area

    Like this. How can i do it? Can i do copy/paste/edit to contact form? (same website)



    Hello :),

    1) Create new contact form PHP file called contact-form-new.php on the “/php” folder.

    2) Create a new view.contact.js file called view.contact.new.js on the “/js/views” folder.

    3) Copy all code from default contact form and modify based on topic below (for add new fields like phone and dropdown):

    * Also modify the new created PHP and JS files based on instructions at link above.

    4) Change the “action” attribute of form to action="php/contact-form-new.php".

    5) Make sure that you include the script of new “view.contact.new.js” on footer of document.

    Please, try that and let me know if you need further assistance.

    Kind Regards,


Viewing 2 posts - 1 through 2 (of 2 total)