read advance search parameters

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
lamany77
User
Posts: 144

read advance search parameters

Post by lamany77 »

Dear all
how do i read the value the advance parameters after search

ex :
advance search input :

date in : 20/01/2023 to 31/01/2023
client name : Mr. Test

i want to ready the parameters :

20/01/2023 to 31/01/2023
Mr. Test

thanks


mobhar
User
Posts: 11660

Post by mobhar »

You may try this code in Page_DataRendering server event that belongs to the List Page of orders table of demo2023 project:

$header = "Customer: " . $this->CustomerID->AdvancedSearch->SearchValue . ", Order Date between: " . $this->OrderDate->AdvancedSearch->SearchValue . " and " . $this->OrderDate->AdvancedSearch->SearchValue2;

Make sure you have already setup CustomerID and OrderDate fields as Extended Search, and for OrderDate field, make sure you have already chosen BETWEEN as the search operator.


Post Reply