This topic is locked

hide save button on add page depending the value of a fiels

8/23/2013 8:17:23 AM
PHPRunner General questions
C
chrispa author

Hi ,
i need you help .
i have a table track contain a field credits .

i need when i add a new record a javascript on load event?? to check:

  • if credits = 0 the to pop up a message "You Have No Credits" and redirect to list page
  • If credits >0 to proceed to add page
    can you help please!!!!
    thanks in advance