Menu

How can I display a field two times with different titles?

Pornsawan
2024-03-12
2024-03-12
  • Pornsawan

    Pornsawan - 2024-03-12

    Hello,
    I'm trying to display the same field twice but with a different title. Is it possible?

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2024-03-12

    Can you explain the use case?

     
    • Pornsawan

      Pornsawan - 2024-03-12

      I seperate the data into 2 tabs. All mandatory fields are on the first one and another is optional. But there are 3 fields in common. Users will call API to create incident with mandatory information (1st tab). But for some incident, they have to manually fill the information in the second tabs for report purpose. So, I think it would be nice if they don't have to fill the information that already had.

      And the reason that why the field has different titles is because title in second tab has to follow the user's standard template, but it's quite long to display in the first tab's layout.

       
  • Vincent @ Combodo

    "display the same field twice but with a different title"
    Not possible to my knowledge.
    You need to have 2 different fields, but with some PHP code in ComputeValues method you can guarantee that they contains the same information.

     
    • Pornsawan

      Pornsawan - 2024-03-12

      I got it! Thank you

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.