This topic is locked

Change List Header

4/5/2024 8:19:47 PM
PHPRunner General questions
A
asawyer13 authorDevClub member

Hopefully I can explain what I'm trying to do so the experts can help me.

I have a generic column in my table called CustomField1. It's a varchar field.

In my config table, I have a place where the user can enter a Name that they want to use, for example "Region".

So the idea is that the user says they want to put the value of Region in that CustomField1 column. I think I can change the Labels in the Add, Edit and View pages. At least I think I can.

For the List, I would like that column to have the Header of Region and not CustomField1. I think I can handle the searching, so not too concerned.

Is there a way I can do this?

Thanks
Alan

Sergey Kornilov admin 4/6/2024

You can change field label on any page using this API:
https://xlinesoft.com/phprunner/docs/setfieldlabel.htm