I get this a lot but have not been able to figure it out. I see contact form validation using ajax that something like this
that is the shortcut version. but it works in html but when I try it on a WordPress site, it only works if I put the absolute url. How do you solve this issue?
use a pre-built plugin such as contact form 7 which has the ajax requirements and is easy enough to customise to your needs.
Don’t reinvent the wheel
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.