0 Replies Latest reply on Nov 22, 2007 12:28 AM by Keiko


    Keiko Level 1

      Dear all,

      I am using Flash Form (CF 8) and I have a Grid and a Button. If the Grid is empty, I want to disable my button automatically (without refreshing my screen). If there is data, the button is automatically enabled. How to do that? I managed to get the solution in the past, but now I don't remember.

      This is an example on how to enable/disable a button if there is any row in the grid highlighted.
      <cfinput type="button" name="cmdTest" value="Test" enabled="{grdMyGrid.selectedItem == undefined?false:true}">

      Looking forward for your reply.

      Thanks in advance