daily pastebin goal
74%
SHARE
TWEET

Untitled

a guest Sep 12th, 2018 55 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/additional-methods.js"></script>
  2. <script>
  3.  
  4.  
  5. <form method="POST" id="regForm" action="{{ url_for('pipeline') }}">
  6.   <div class="tab">
  7.     <h3>User Assets:</h3>
  8.     <br>
  9.     <label>Interval BED File</label>
  10.     {{ form.target(placeholder="(e.g. Exome-NGv3.bed)...", oninput="this.className = ''") }}
  11.     <div class="form-group required">
  12.         <label>Sentieon Package Name</label>
  13.         {{ form.sentieon_package_name(placeholder="(e.g. sentieon-genomics-201711.01.tar.gz)...", oninput="this.className = ''") }}
  14.     </div>
  15.     <div class="form-group required">
  16.         <label>Sentieon License Name</label>
  17.         {{ form.sentieon_license_name(placeholder="(e.g mylicense.lic)...", oninput="this.className = ''") }}
  18.     </div>
  19.   </div>
  20. </form>
  21.  
  22. <script>
  23.  
  24. $(document).ready(function () {
  25.  
  26.     $('#regForm').validate({ // initialize the plugin
  27.         rules: {
  28.             sentieon_package_name: {
  29.                 required: true,
  30.                 extension: "tar|tar.gz"
  31.             },
  32.             sentieon_license_name: {
  33.                 required: true,
  34.                 extension: "lic"
  35.             },
  36.         submitHandler: function (form) { // for demo
  37.             alert('valid form submitted'); // for demo
  38.             return false; // for demo
  39.         }
  40.     });
  41.  
  42. });
  43.  
  44. </script>
  45.    
  46. <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/additional-methods.js"></script>
  47. <script>
  48.    
  49. <script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.11.1/additional-methods.js"></script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top