Gowtham

Gowtham

  • NA
  • 516
  • 40.7k

Unable to divide the the rows into columns using bootstrap

Jul 16 2017 7:23 AM
I am working in custom new form for share point list.I have to design the form with bootstrap.Due to default share point field styles I can't able to override those fields. 
 
 Design template:
 
POtile                                                                      PoDate 
Share point textbox(default)                                    share point date(defult)
 
Ponumber                                                                 DeliveryDate
Share point textbox(default)                                      share point date(default)
 
I have to acheive the design look like in custom new form in share point. 
 
 
 
For title , po number fields are proprly aligns, I divide the web page using col-md-6, For po date and po title Not came into proper alignment.
 
Codes which I have tried so for:
  1. <div class="container">  
  2. <div class="row">  
  3. <div class="col-md-6 purchasedetialsR">  
  4. <div class="row form-group potitle">  
  5. <div class=" col-sm-4">  
  6. <H3><nobr>Title *nobr>H3>  
  7. div>  
  8. <div class="col-sm-8">  
  9. <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')}"/>  
  10. <SharePoint:FieldDescription runat="server" id="ff1description{$Pos}" FieldName="Title" ControlMode="New"/>  
  11. div>  
  12. div>  
  13. <div class="row form-group ponumber">  
  14. <div class="col-sm-4">  
  15. <H3 class="ms-standardheader">  
  16. <nobr>PONumbernobr>  
  17. H3>  
  18. div>  
  19. <div class="col-sm-8">  
  20. <SharePoint:FormField runat="server" id="ff3{$Pos}" ControlMode="New" FieldName="PONumber" __designer:bind="{ddwrt:DataBind('i',concat('ff3',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PONumber')}"/>  
  21. <SharePoint:FieldDescription runat="server" id="ff3description{$Pos}" FieldName="PONumber" ControlMode="New"/>  
  22. div>  
  23. div>  
  24. div>  
  25. <div class="col-md-6 purchasedetialsL">  
  26. <div class=" row form-group POdate">  
  27. <div class="col-sm-4">  
  28. <H3 class="ms-standardheader">  
  29. <nobr>PODatenobr>  
  30. H3>  
  31. div>  
  32. <div class="col-sm-8 podat">  
  33. <span >  
  34. <SharePoint:FormField runat="server" id="ff2{$Pos}" ControlMode="New" FieldName="PODate" __designer:bind="{ddwrt:DataBind('i',concat('ff2',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@PODate')}"/>  
  35. <SharePoint:FieldDescription runat="server" id="ff2description{$Pos}" FieldName="PODate" ControlMode="New"/>  
  36. span>  
  37. div>  
  38. div>  
  39. <div class="row form-group potitle">  
  40. <div class="col-sm-4">  
  41. <H3 class="ms-standardheader">  
  42. <nobr>POTitlenobr>  
  43. H3>  
  44. div>  
  45. <div class="col-sm-8">  
  46. <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" FieldName="POTitle" __designer:bind="{ddwrt:DataBind('i',concat('ff4',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@POTitle')}"/>  
  47. <SharePoint:FieldDescription runat="server" id="ff4description{$Pos}" FieldName="POTitle" ControlMode="New"/>  
  48. div>  
  49. div>  
  50. div>  
  51. div>  
  52. div>

Answers (2)