Horizontal sorted columns in NewForm

Hello

I need help with Sharepoint Designer. I am trying to modify the NewForm.aspx file of a list. The goal is somehow to change the HTML code of the aspx file in a way to show the columns in a horizontal order.

The problem is that I am not a programmer so I have not much experience using HTML with Sharepoint Designer. Does someone know what I need to change in the aspx file to make the columns horizontally sorted.

This is the code for two columns. The first (Titel) needs to be to the left and the other one (Textkorper) to the right:

<tr>
<td width="190px" valign="top" class="ms-formlabel">
<H3 class="ms-standardheader">
<nobr>Titel<span class="ms-formvalidation"> *</span>
</nobr>
</H3>
</td>
<tr><td width="400px" valign="top" class="ms-formbody">
<SharePoint:FormField runat="server" id="ff1{$Pos}" ControlMode="New" FieldName="Title" __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/>
<SharePoint:FieldDescription runat="server" id="ff1description{$Pos}" FieldName="Title" ControlMode="New"/>
</td></tr>
</tr>
<tr>
<td width="190px" valign="top" class="ms-formlabel">
<H3 class="ms-standardheader">
<nobr>Textkrper</nobr>
</H3>
</td>
<tr><td width="400px" valign="top" class="ms-formbody">
<SharePoint:FormField runat="server" id="ff2{$Pos}" ControlMode="New" FieldName="Body" __designer:bind="{ddwrt:DataBind('i',concat('ff2',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Body')}"/>
<SharePoint:FieldDescription runat="server" id="ff2description{$Pos}" FieldName="Body" ControlMode="New"/>
</td></tr>
</tr>
<tr>


Thanks and best regards

ivicapro1987



May 25th, 2015 2:17pm

I made the columns appear horizontally but it looks weird. Now I need to make the title of the column appear above the field itself (just like the columns under Titel ans Textkorper).

Here is a screenshot.

New Form


Free Windows Admin Tool Kit Click here and download it now
May 26th, 2015 6:47am

We somehow made it in sorting the columns modifying the NewForm but the visibility rules created by this tool stopped working.

I'll maybe try the solution posted above but I'm not sure it will work.


June 2nd, 2015 2:39am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics