Mohammed1
Novice

Row Selected Validation

Hi All,

 

I have created a List View and populated with details. Also at the top of the List is Edit button, on click of which a new subview opens with the selected details binded for the user to edit and save. 

 

I wanted to have a validation check, only when a row is selected, user should be able to open subview else a message is displayed to the user " Please select a row to edit".   How do i achieve this kind of validation.

0 Kudos
Reply
1 Reply
Andrew_Blinco
Apprentice

Re: Row Selected Validation

Hi Mohammed

 

I would use an advanced condition for this. 

 

In the advanced condition I would check that a required SmartObject property for the List View is not empty, or in the case of an ID field that it is not equal to zero. If the condition passes then show the edit view, else show your message.

 

See attached for an example using an ID field. 

 

 


edit_list_view_advanced_condition_1687.png
Reply