Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'validation'

1942888 - draft of a comment: error blog validation statusnet
  1. FWIW if re-ordering what's in the video, I'd begin with what's at the 0:25 mark.
  2.  
  3. Make it immediately understandable that:
  4.  
  5. * StatusNet can do more than Twitter
  6.  
  7. * StatusNet can do your tweets for you
  8.  
  9.  
913599 - grom358: php javascript form validation
  1. <?php
  2. require_once 'import.php';
  3.  
  4. // Example form
  5. $qf = build_quickform(array(
  6.         'name' => 'example_form',
  7.         'action' => 'test.php',
  8.         'method' => 'post',
  9.  
913598 - grom358: php javascript form validation
  1. <?php
  2. class Qf_Utils {
  3.         static public function form_value($value) {
  4.                 if (!isset($value)) {
  5.                         return '';
  6.                 }
  7.                 $string = strval($value);
  8.                 return strlen($string) > 0 ? htmlentities($string, ENT_QUOTES) : '';
  9.  
835986 - Pygtk entry validation: input pygtk entry validation
  1. import gobject
  2.  
  3. def CharsOnly(entry, new_text, new_text_length, position):
  4.     canAdd=''
  5.     pos=entry.get_position()
  6.     for newChar in new_text:
  7.         if (newChar.isalpha() or newChar == '.' or newChar == '-' or newChar ==' '):
  8.            canAdd+=newChar
  9.  
fantasy-obligation
fantasy-obligation