Provide zblog template_zblog them_wordpress template download and customization

The zblogasp comment prompts "the name or email address is not in the correct format" after deleting the email address and web address

Tianxing Studio 2016-07-11 21:28 Zblogasp Tutorial ten thousand four hundred and fifty 2 Comments


zblogasp There are four items that need to be filled in the comment module of. They are: name, email, website and comment content. Many friends think that email and website are useless and want to delete them.

Then find the topic "b_article_commentpost. html" Template The email address and web address were deleted from the file. As a result, when the front desk submitted comments, it was found that "the name or email address is not in the correct format".

At this time, we need to go further. Generally, this restriction must be made by js. Let's take a look at the js of the page. Generally, the theme's own js and the program's required js. This system level restriction must be made by the program's own js, so the file to be modified is the system's own js. Find out the principle and then look down.

The following tutorial is suggested to be operated by friends who have some basic html knowledge. If you don't understand anything, you are not recommended to do it yourself.

Ps: Be sure to back up before modifying, or you will not be able to recover if the error is corrected!

Operation method:

Open the file " zb_system SCRIPT common. js" and search for "inpHomePage" and "inpEmail";

Then delete all code lines with "inpHomePage" and "inpEmail". Note that you must see the logic clearly where there is an if (only two with an if judgment).

After deletion, save it. The foreground will refresh it hard, and then test the comments. The restrictions have been lifted perfectly.


Can't find a tutorial that can solve your problem?

You can try to search or ask questions directly online. We also provide charging technical support. If you need it, you can contact us online.

Online questions Online Service

yes two Comments from netizens:

  •  Visitors

    Visitors 4 years ago (2020-07-30) reply

    very good

  •  Netizens of Tianxing Studio

    Netizens of Tianxing Studio Five years ago (April 30, 2019) reply

    Learned [T_T]

welcome you Comment: Cancel Reply

 Please fill in the verification code
  • Latest articles
  • Hot article ranking
  • Most Comments
Label aggregation
  • Sign in
  • Registered account Forgot your password?
  • register
  • Already have an account? Direct login Forgot your password?
  • Social account login