This topic is locked
[SOLVED]

How to prevent selection of multi rows in list page

5/19/2022 5:43:16 AM
PHPRunner General questions
U
ustunsoz author

Dear Phprunners,

On list page I want to allow only one record selection at a time. That means if I select second row, the first selection will become unselected. Also want to hide "select all checkbox" on the header.

Is this possible? If so how?

Mustafa

K
kohle 5/19/2022

Hi,

maybe this can help you : https://asprunner.com/forums/topic/26828-selecting-single-checkbox-on-list-page

What I do :

What I do is, I check how much records were selected (phprunner function) and than
show a message: "Please select only one record. "

rgs
J.

U
ustunsoz author 5/19/2022

Thank you for the advise, however this is not a desired solution. I will send checked record's print page as an email, I can't take the risk of emailing multiple record to the irrelevant receipent. Is there a way to uncheck the box programatically ?

U
ustunsoz author 5/19/2022