Results 1 to 3 of 3

Thread: wordpress contact 7 form question - REQUIRED FIELD/validation

  1. #1
    Join Date
    Apr 2014

    wordpress contact 7 form question - REQUIRED FIELD/validation

    I have a form that has working javascript function applied to width and length field that outputs totalcost .. I have these fields in a contact 7 form and it works great on my wordpress site only problem is I can't force it to be a "required field". When I change the format of the field [text* width and add javascript] the javascript doesn't work. Is there a way to add custom code to the plugin validation so I can keep it in <input > format so javascript works but force user to fill in or is there code I can add to the <input field> itself? I attempted adding * and this didn't work.

  2. #2
    Join Date
    Dec 2012
    Click on Plugins

    Scroll down and find the plugin

    The third link on the right is edit

    You can change all the code here.. remember if you update the plugin there is a chance that your changes will be overwritten.

  3. #3
    Join Date
    Apr 2014
    sorry not following your post? I know where to change the code.. when I change to contact format for validation [text* field name] I can force validation.. when I add javascript to this format my javascript no longer works.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles