Form "section"

Dec 6, 2011 at 6:18 PM

Hello

I am currently using jPoint with a newForm in Sharepoint 2010 and all is working fine

I hide some field using jPart.hideFormFields.js

 

I would like to create some sort of "section"

 

Original form (imagine this is a standard Sharepoint Form)

Name :         __________

Surname :     __________

AdressLine :  ___________

Town:           ___________

PostalCode:  ___________

 

Traget Form

Name :         __________

Surname :     __________

ADDRESS

AdressLine :  ___________

Town:           ___________

PostalCode:  ___________

 

 

I have already dine such thing using jquery

 

the idea is to find the tr of the field ("AdressLine in sample") and to insert data before

somathing like

$("tr td #AdressLine").insertBefore("<tr><td colspan=2> <h2>ADDRESS</h2></td></tR>");

Of course with SharePoint generated code the select code would not be $("tr td #AdressLine") but would be very complex

So I thought of using jPart for accessing this

1- Do you think it would be possible

2- If yes could you put a small code sample that could be use

 

Regards