Page 1 of 1

Multi-Update pass values to Custom File

Posted: Sun Nov 27, 2022 6:42 pm
by konfuzion

Multi-Update Page / Page-Redirecting

Is it possible to pass the selected values into Custom Files? How to pass the values?

//*List.php page

[_] Record 1
[_] Record 2
[X] Record 3
[X] Record 4
[_] Record 5

// Click Multi-Update icon

//MULTI-UPDATE Modal is shown
[X] Execute Custom Action

[SUBMIT]

// Click SUBMIT

//Multi-Update Page-Redirecting Server Event
If ($rsnew["ExeCustomAction"] == True) $url = ExeCustomAction.php;

//Custom Files
ExeCustomAction.php

When redirected to ExeCustomAction.php, page will display:

Selected records:
Record 3
Record 4

What is your custom action?

<SELECT>
<option>1. Copy Records to myTable..
<option>2. Move Records myTable..
[SUBMIT]


Re: Multi-Update pass values to CustomFile.php?

Posted: Sun Nov 27, 2022 9:40 pm
by konfuzion

found it, key_m


Re: Multi-Update pass values to Custom File

Posted: Thu Dec 01, 2022 5:45 pm
by stpaulin

Hi,
Can you help me. I have a issue similar to yours in : viewtopic.php?t=54942
But i wonder how you have manage to handle selected records sending to custom file using key_m[] and how you get them back in your custom file.
Help please !