Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2008
    Posts
    14
    Plugin Contributions
    0

    Default check text input

    Hi,

    I want to be able to hardcode which numbers (only numbers) can be put into a textbox. When I enter nothing, I get a warning, so now I want to expand the check the system is performing: not just checking if there is a text entered in the checkbox, but also what text. Where can I find the code to expand?

    thanks!

    JAN

  2. #2
    Join Date
    Jan 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: check text input

    Found it! It's in functions_lookups.php. It's this function:
    function zen_get_attributes_valid

    Just above return $check_valid; in this function I've put:

    if ($value > 6000) {
    $check_valid = false;
    }

 

 

Similar Threads

  1. Disabling input text?
    By g_force in forum General Questions
    Replies: 1
    Last Post: 31 Oct 2009, 12:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg