I have been requested with a friend to assist him by helping cover their his website. His website operates on goddady but uses Wordpress to handle all of the content. I have never interacted with any kind of wordpress website before so I've been really lost.

What I wish to do is give a form to among the pages, then add javascript to validate the shape, and give a php script that'll be Published to through the form.

My real question is exactly how will i start carrying this out? I discovered my method to editing the page, and that i put in the shape. However, if i replicated within the javascript, I'd seeing errors within the chrome developer console. It looked as though all of the text had been steered clear of.

And So I desired to know, what's the right way? Can one simply do something simple like investing in <script type="text/javascript" src="formjs.js"></script>

And for the PHP script, can one simply place it within the correct directory and allow the form refer to it as?

Thanks!

I have been requested with a friend to assist him by helping cover their his website.

And you're simply asking us.:) Quite interesting. :)

His website operates on goddady but uses Wordpress to handle all of the content.

And what? Are this a couple of things incompatible?

It looked as though all of the text had been steered clear of.

Perhaps you have added this text(I am talking about code) into the WYSIWYG-editor within the admin? It's wrong!!!

I'm able to suggest you to definitely create template within the wrodpress theme and assing it for your page. All of the code(php, html, js) ought to be incorporated for the reason that file.

And for the PHP script, can one simply place it within the correct directory and allow the form refer to it as?

Exactly what do you mean by let the from call it? Would you like form to become posted to that particular file? Yes, you are able to.

Wordpress runs heavily on php, it requires no master php developer for doing things nevertheless, you take some degree of familiarity to have interaction by using it and shape wordpress to complete what for you to do.

You can include php functions for that site towards the functions.php file or simply put the file within the correct directory and refer to it as via various techniques. If you're creating a wordpress plugin type accessory for the website it is advisable to setup the database table, posts, sections, whatever for that addition after which write a php script to make use of with anything you are building after which make use of an include or require function to obtain the script and it is actions. After that you can submit the shape and also have it saved within the database, get it sent somewhere or perform whatever action you would like.

You are able to validate the script via javascript or php and also you load the scripts exactly like you would every other time. Wordpress might have some difficulties with its back finish and taking advantage of javascript possibly but generally gives little difficulty as lengthy while you aren't attempting to do anything whatsoever too thorough. Validating an application should not be any problem but we can not assist you with any issues in stated form unless of course you publish the code.

And lastly his website is located on godaddy however the submissions are handled via wordpress. If he just setup wordpress through the godaddy installer. It may be easier to download, install and build in wordpress from the wordpress site download. For theme building take a look at the wordpress theme directory and find something to modify or take a look at the codex page on how to build themes.

Lastly use the codex to help you build it is really well documented.

Also try the stackoverflow wordpress site.