cancel
Showing results for 
Search instead for 
Did you mean: 

Goal details display on Performance Form

anitha11
Participant
0 Kudos
212

Hi

I want to display goal_desc and a custom field on the Goal details tab on my performance form. Currently, the fields 1 and 2 are displayed side by side on the tab as shown below:

anitha11_1-1709146306403.png

Is it possible to change the form-layout in the goal plan XML to display field 2 under field 1? These are the only two fields I have on the tab. This is what I have on the XML. I've tried changing valign but it did not make a difference.

<form-layout><![CDATA[## Consider displaying goal category (if applicable) if mapping goals across all categories in one objective section

<div align="left">
<b>${field.category}</b>
</div>#set ($group = "name-state")

<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;</td>

<td valign="top" width="100%">#if ($display.desc) <b>${label.desc}:</b><br>
${field.desc} #end</td>

<td valign="top" width="100%">#if ($display.field9) <b>${label.field9}:</b><br>
${field.field9} #end</td>
</tr>
</table>## turn off grouping for subsequent fields #set ($group = "")]]></form-layout>

The problem is that if there is no text in field 2, it is still shown as empty next to field 1 while field 1 takes up space on the form. If field 1 could go all the way to the right, it makes it more readable.

Thanks in advance for the feedback.

 

View Entire Topic
SachinPachauri
Active Contributor
0 Kudos

Hello @anitha11 

You can’t move the it below. Fields will always come side by side if you have only 2 fields in layout.