baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from Sander on 3/28 2013, 15:54 +00:00

    Re: Field Entry Restriction


      if($_put{Last_Name}=~/name/)
      and
      if($_put{Last_Name}=~/^\d+$/) #only numeric signs

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from mbel on 3/19 2013, 04:02 +00:00

    Field Entry Restriction


      How would I restrict field entry conditions using the following "if" code:

      if ($_put{Last_Name} <contains the word "name">)

      or

      if ($_put{Last_Name} <contains a numeric>)

     Post a reply

    Message from Sander on 3/28 2013, 15:54 +00:00

    Re: Field Entry Restriction


      if($_put{Last_Name}=~/name/)
      and
      if($_put{Last_Name}=~/^\d+$/) #only numeric signs

     Post a reply


    Message from mbel on 3/17 2015, 06:04 +00:00

    Re: Field Entry Restriction


      Thank you that worked if the second field is only numeric. What is the proper code to not allow alpha-numeric entry (only allow alpha characters)?
     Post a reply

    Message from mbel on 4/27 2016, 03:18 +00:00

    Re: Field Entry Restriction


      Hi. Can someone help with my question above? I'm trying to restrict the field so that it does not allow a combination of alphanumeric. In other words, only allow alpha. Thanks in advance.
     Post a reply
     
 Newest 150 Threads: To the input form 
To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com