Set required search fields (v2021)

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

Set required search fields (v2021)

Post by Macunaima »

Hello,
I have the following situations:
1 - I have 3 search fields and I need to make 2 of them mandatory.
2 - After applying the filter, which is a group of records with some identical fields. I need to get any of the records to rename the columns according to the content of these fields.
Ex.: Fields Day1, Sit1, Day2, Sit2,...
So I need to Rename the Sit1 column with the contents of Day1, the Sit2 column with the contents of Day2, ...

I appreciate any guidance.


mobhar
User
Posts: 11905

Post by mobhar »

  1. You may use Form_CustomValidate server event that belongs to the List Page in order to validate whether the required fields have been selected/entered its value.

  2. You may use Page_Load server event that belongs the List Page in order to change the column caption of the table.


Macunaima
User
Posts: 54

Post by Macunaima »

Thank you, I had already found the answer in another forum


Post Reply