Alpha Video Training
Results 1 to 2 of 2

Thread: List Control - Show Hide Button

  1. #1
    Member
    Real Name
    CC
    Join Date
    Jan 2014
    Posts
    20

    Default List Control - Show Hide Button

    I add button in List Control but i want to hide the button.
    So I write expression in show\hide expression, but can't work.
    Example : if(delivery_status ="OPEN",true,false)
    it is the expression correct or need to do another way?

  2. #2
    "Certified" Alphaholic TheSmitchell's Avatar
    Real Name
    Sarah
    Join Date
    Apr 2012
    Posts
    1,334

    Default Re: List Control - Show Hide Button

    Quote Originally Posted by ChilliCrab View Post
    I add button in List Control but i want to hide the button.
    So I write expression in show\hide expression, but can't work.
    Example : if(delivery_status ="OPEN",true,false)
    it is the expression correct or need to do another way?
    You don't need the if function:

    Code:
    delivery_status = "OPEN"
    If you do use the if function, you need to compare the result of the if function to some value. EG:
    Code:
    if(delivery_status = "OPEN",true,false) = true
    Similarly, if you have a variable that contains a logical value, it's not sufficient to just reference it:

    Code:
    MY_LOGICAL
    You have to check it against true or false:
    Code:
    MY_LOGICAL = true
    Good luck.
    Alpha Anywhere latest pre-release

Similar Threads

  1. Show/Hide Expression for field in List control?
    By Keith Hubert in forum Mobile & Browser Applications
    Replies: 2
    Last Post: 08-29-2013, 02:40 PM
  2. Javascript help: how to hide a control depending on a value in a radio-button control
    By WindForce in forum Application Server Version 11 - Web/Browser Applications
    Replies: 2
    Last Post: 05-10-2012, 07:42 AM
  3. Show/Hide Button Help
    By Rich Hartnett in forum Application Server Version 11 - Web/Browser Applications
    Replies: 1
    Last Post: 12-29-2011, 10:37 PM
  4. JavaScript Show/Hide Button
    By stefhill in forum Application Server Version 10 - Web/Browser Applications
    Replies: 9
    Last Post: 06-03-2010, 07:05 PM
  5. Hide / Show control
    By Craig Johnson in forum Alpha Five Version 5
    Replies: 5
    Last Post: 04-25-2003, 06:34 AM

Bookmarks

Posting Permissions

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