List View in Smart Form - Validate if an item is selected before executing rule

  • 31 December 2016
  • 1 reply
  • 1 view

Badge +8

Hi again.

 

In a list view on a form, I don't want the "Save" button to be enabled until a user selects a list item.  That way, he/she can't save unless something is selected to write the data using the create/update method.

 

Defaulting the save button to disabled and adding a rule to enable when a list item is clicked works great...but unfortunately, if the user clicks the little green arrows pointing at each other right above the list view (Apply quick search) it will refresh the view and unselect the selected item, but the "Save" button remains enabled.

 

So, I'm looking for one of two things:

 

 

#1 - Is it possible to write an action against the condition the Apply quick search button is clicked?

#2 - Is it possible to have some kind of conditino that says "When nothing on view is selected"

 

Or, I'm open to other suggestions.

 

Rob

 


1 reply

Badge +8

Arghhh!  I found it. 

 

The "List Refresh" method is the method that is used by the two arrows pointing at each other.  I actioned against that and it worked perfectly. 

 

I'm a dummy. 

 

 

Reply