Title: How to upload .js function validateform()
Last modified: August 22, 2016

---

# How to upload .js function validateform()

 *  [aubreyh](https://wordpress.org/support/users/aubreyh/)
 * (@aubreyh)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-upload-js-function-validateform/)
 * <p>I am creating a donation page for a client and have placed a credit card form
   fill on the donate page [</p>](https://wordpress.org/support/topic/how-to-upload-js-function-validateform/cts.today/donate?output_format=md)
 * <p>I have the .html form script sourcing a .js function validateform() file which
   directs the form inputs to the clients payment gateway.</p>
 * <p>The problem that I am having is finding the appropriate word press folder 
   to upload my .js file to (through filezilla). This is the folder tree I have 
   tried-
 * /public_html/wp-content/uploads</p>
 * <p>**Note:**The form currently accepts any info (even missing) and redirects 
   to the returnvalidate url, this is why I think it is not recognizing the .js 
   function altogether. Any suggestions are helpful!</p>

Viewing 1 replies (of 1 total)

 *  Thread Starter [aubreyh](https://wordpress.org/support/users/aubreyh/)
 * (@aubreyh)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-upload-js-function-validateform/#post-5769418)
 * sorry for the linkage

Viewing 1 replies (of 1 total)

The topic ‘How to upload .js function validateform()’ is closed to new replies.

## Tags

 * [file](https://wordpress.org/support/topic-tag/file/)
 * [form](https://wordpress.org/support/topic-tag/form/)
 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [aubreyh](https://wordpress.org/support/users/aubreyh/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-upload-js-function-validateform/#post-5769418)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
