Hide few fields in EditForm.asx of Picture Library in sharepoint 2010 - sharepoint-2010

I have a picture library and added few fields to it. When i click add new item from picture library, the EditForm.aspx appears after uploading the picture. This form contains many fields of which I want to hide Title, Date Picture Taken, Description, and Keyword. In short the EditForm should contain only Name, Preview and the columns that I have added. Is it possible to hide the other columns? I want to perform this out of the box.

Several possibilities.
You can use SharePoint Designer to manipulate the NewForm, EditForm and DisplayForm. Edit the existing form, use CSS to set the out of the box HTML form to hidden, then add a new custom form to the page and remove the columns you don't want to see.
If you don't want to use these columns at all, just delete them in the Library settings
If you don't want to delete the columns, click the parent content type in the Library settings, then edit each column and set it to "hidden"

Check this out: http://sarangasl.blogspot.in/2009/10/hide-column-in-edit-new-or-display-mode.html
I found this solution to be really simple and effective. Very well documented and descriptive.

Related

Drag and Drop data in PDF form field

I have a project that requires the user to fill out a pdf form. I am loading the pdf file into an object tag. On the side I have a list of predetermined values. I would like to enable the user to drag one of those values to a field in the form and drop it there.
I can have them right-click the value, copy it and then right-click and paste in the field, but I would like to create something a little more user friendly.
Any suggestions are highly appreciated.
Thank you.
From what I can find (I was just searching if this was possible as well), and what I know from building forms in Adobe's form builder, this is sadly no possible.

copying a form textfield value into a report textfield

I have an access form in wich a user can enter project details (like project number, name and ordering party etc etc)
I also have a few reports with a header. I would like the values that are entered in the project detail form to be automatically inserted into the header text (orange selected) fields.
How can I do this?
I have added the tags vba and sql, because I am willing to use these ways if it is otherwise impossible to do this.
Probably the most straightforward way to do this would be to set the Control Source of the text boxes on the Report to point to the corresponding text boxes on the Form. So, the Report text boxes would have a Control Source that looks something like:
=[Forms]![Form1]![txtProjectName]

Hiding Fields on Edit Form in Sharepoint 2010

I was wondering if there's a way to hide fields on the edit form on one view but have them display on another?
Right now I am using:
<FieldRef ID="{EF8477CA-D07E-4368-9359-5A33A9E0222C}" Name="Requester" ShowInNewForm="FALSE" ShowInEditForm="FALSE"/>
this in my contentType, but I'm pretty sure this will hide it throughout the whole site, is there a way to hide it just at specific points so it's still visible on some edit pages but not on others?
Thanks
I would recommend not hiding the Field in the Edit form, but define a custom form in your List Definition and hiding it from that one.
In the list definition scheema add this in your forms element:
<Form Type="EditForm"
Url="CustomNewForm.aspx"
SetupPath="pages\form.aspx"
WebPartZoneID="Main" />
After deploying the list, open the form generated and simply hide the containing the field using css display:none;
Finally, use the custom form where ever you need it.
This can help: Showing or hiding form fields based on membership in a SharePoint group

How to create non-exclusive checkboxes with the same name in an Acrobat/PDF form

In Acrobat Professional, I create multiple checkboxes and assign the same name to each checkbox, but a different export value. With this, the checkboxes seem to behave like radio buttons: Acrobat only lets me check one of them. If the first is checked, and I click on the second one, Acrobat unchecks the first one.
If I assign different names to the checkboxes, then they do behave independently. However it would make things easier for my code that fills out the form if the name could be the same. Is it possible to create non-exclusive checkboxes (i.e. real checkboxes) that have the same name in Acrobat?
(For reference, this is the PDF I created: 20110503-exclusive-checkboxes.pdf)
Judging from the PDF Reference, it's impossible to create independent checkboxes with the same name.
In fact, a PDF Viewer should use the name to detect which checkboxes will form a check box field.
See Adobe's PDF Reference, 8.6.3 Field Types, Check Boxes (page 648) for more information.
Use the same name and export value for all your checkboxes and they will checked/unchecked together. Adobe Acrobat supports this, it is also permitted by PDF specification.
Can't be done.
That is the very definition of how you define radio groups in a PDF.
You can have different check boxes "foo.MyCheck", "bar.MyCheck", and so forth, and all are different fields. Different parent fields can have children with the same local name but different fully qualified names. Not a problem.
What is it that you're trying to do, anyway?
Adobe Acrobat versions 8,9 and X allow you to create non-exclusive checkboxes. Although, this allows you to create non-exclusive checkboxes, Orbeon does not recognize these fields.
Once you create the initial checkbox,
Right click the check box and select "Place Multiple Fields..."
http://i.stack.imgur.com/ASj3Q.png
In the Create Multiple Dialog box modify the number of fields needed (down/accross)
http://i.stack.imgur.com/gYOoU.png
Then select the other checkbox properties to modify the Export Values

How do I check programmatically if any document properties of a MS Word 2007 document has changed?

For example, I want the Title fields in the body and the page headers of the document to be updated automatically whenever the Title field in the document properties panel is changed. I know how to update the fields, but I want to know the name of the event that will tell me when the document properties have changed.
Your help will be appreciated. Thanks.
I also asked it on the MSDN Forums.
You can certainly check for these kinds of things in some of the events, such as DocumentBeforeClose or WindowSelectionChange, but this may be overkill. Instead, you could just use fields - they will update automatically. For example, go to Insert and then click on Quick Parts and then Field... Go to the Document Information section in the dropdown on the left and choose Title. Then, insert that and go back to the Home tab on the Ribbon and set its style to Title.
You also mention you also want page headers - are those properties you're setting in the Document Panel?
Word doesn't have any events like that. The best you might be able to do is use the selection change event, which will happen fairly often, but then you have to check all the propertiers of all the documents.
I think you're trying to do something that Word doesn't normally do. There are certain times when fields are updated and that's it. Teach you users how it works.