• James Gore
  • NEWBIE
  • 10 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies
The solution to this trailhead challenge is inside of the reading of the trailhead material, and the challenge references the LeadProcessor class from the Database.Batchable trailhead challenge which does not apply to this challenge.

Hi,

 

I am using html table to create matrics, but on header row when I set required=ture for inputfield the line break gets added.

 

Please find below code snipet. I am not able to upload screenshot but the header cell has 2 rows instead of 1. So how can I put both inputfield & text in one line. Thanks!

 

<Table border="1" STYLE="border: 1px solid gray; border-collapse: collapse; border-spacing: 10pt 5pt" class="AItable" id="AITable">

<tr>
<th STYLE="background-color: #DDECF3; text-align:center;">Col1</th>
<th STYLE="background-color: #DDECF3; text-align:center; width:12%;">Col2</th>
<th STYLE="background-color: #DDECF3; text-align:center; vertical-align:middle;">YTD:&nbsp;
<apex:inputField value="{!CustomObj.Date1__c}" required="True" label="" style="width:40%;"/>
</th>
</Table>