Home Forums Porto Template Problems in the contact form

This topic contains 1 reply, has 2 voices, and was last updated by  Support2 3 days, 22 hours ago. This post has been viewed 43 times

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

    kazschlegel
    Participant

    Hi, Supports teams.

    I need your support to solve the current problem which shows in the above site.

    Problem 1)
    Contact form does not work although your detailed instructions were applied into my site. Please advise me how to fix it.

    Problem 2)
    Contact form in my site based on your Proto HTML templete cannot fill in Japanese language. In filled it up in Japanese laguage, contact form says “Please fill this empty field.” along with Subuect, Message fileds. Please also advise me how to sort them out.

    Thank you for your advice and supports

    kazschlegel


    #10028003

    Support2
    Keymaster

    Hello, thanks for your purchase.

    1) Please send all code of your php/contact-form.php for us. You can use a service like https://pastebin.com to create a link with your code and share with us.

    2) Change the “No White Space” code at js/views/view.contact.js to:

    // No White Space
    $.validator.addMethod("noSpace", function(value, element) {
    	if( $(element).attr('required') ) {
    		return value.search(/[一-龠]+|[ぁ-ゔ]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+[々〆〤]/i) == 0;
    	}
    
    	return true;
    }, 'Please fill this empty field.');

    Kind Regards,

    Rodrigo.


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