I want to add a footer to a Lotus Notes document. The Lotus Notes form "Printing" tab allows me to add a footer. However I would like to calculate the footer based on the value of a field on the form rather than just adding text. Is there a way of doing this?
Unfortunately, you can't show field content in print footer.
The only thing possible is inserting document's window title with &W.
Form's Window Title formula can be calculated with field contents.
Related
I would like to increase width of lotus notes text field on web, I have tried
width="48"
On html tab of the field and put there in style tag but that is not working.
Basically I am having comment field which wherein I would like to increase width of the field so user can see enter long text instead of typing and getting moved.
P.s I know richtext field which can have cols and rows property but I dont need rich text field. I just need simple text field.
Use colon and not an equals sign and add px. So do this instead:
width:48px;
I have a form, say A, inside this form I'd like to have an editable text field which can be maintained by a CMS content editor.
I was told that we cannot do it.
So I am wondering that can we make an editable text field some where else, e.g. the Webpart which contains the form, and display the text inside the form A?
Also, I do not want to save the text into the data table which maps to this form.
Here is the form
"Our staff will endeavour to respond to your message within 2 business days."
This is the text that I want to make an editable text field for.
If the editable text is NOT part of the form then there is no need to have it "inside" the form or as a form field. You have a few options to add this editable text:
Inside any WYSIWYG editor, you can place a form or use the widget to add a form. As long as your editable text is outside of the actual form, you can place this text before or after the form widget.
In the form itself, add a new Layout and place the form field labels and value macros as well as your custom text inside there.
You can create Categories which will group fields underneath that category together on the form. See image below for an example. This is a good way to store some "grouping" text for those similar fields. This has to be edited within the form itself.
How to hide an attachment in a Lotus Notes document pasted in a rich text field?
Using attach icon the attachment can be hidden using hide-when formula !#IsNewDoc, if it is pasted it remains visible even in case of the same hide when formula.
(Lotus Notes 8.5.3 client)
After saving and reopening the document, the attachment is still displayed. (Is seems #isnewdoc does not work)
It does work the way you described BUT after setting hide-when formula you have to close and reopen the document because the formula !#IsNewDoc hides the attachment only if document is not new.
Even if you edit an existing document you have to
press F9 or
select menu View/Refresh
after setting hide-when formula. The hide-when formula doesn't work right away. The document has to be recalculated before hide-when formula takes affect.
EDIT:
You have a form with a RichText field. This has a hide-when formula !#IsNewDoc. Normally, all content disappears when document is saved and reopened. But, if user copies an attachment from another Notes document's Richtext field the attachment stays visible.
Why? If you copy an attachment from another RichText field then not only the attachment is copied but also all properties. In this case the property hide-when is empty for copied attachment.
Here is a solution:
Create a subform "AttachmentsNewDoc" with RichText field without any hide-when formula.
Create a subform "AttachmentsExistingDoc" with RichText field inside a collapsed section with hide-when formula 1.
Include in your form a calculated subform with formula #If(#IsNewDoc; "AttachmentsNewDoc"; "AttachmentsExistingDoc")
Rich Text fields can not normally be hidden. The rich text itself can contain hide-when formatting.
So you have to use a work-around if you need/want to hide the attachments.
I would use the computed subform trick for this.
Yes, for documents already saved, you need to go to the richtext field and check all items (files) to make sure the hide when on these are set correctly.
Can I hide a subform in notes designer from restricted people using a field in the main form?
I have a field in my main form which has a bunch of email ID generated on computed for display. I only want my subform to be visible to those bunch of usernames.
Is this possible?
You can chose to do a computed subform,
In Designer,
First Open a Form
Then on the menu bar go to Create>Resource>Insert Subform>Insert Subform Based on Formula.
Then you can use a formula to choose to display a subform or not.
I have a basic requirement of printing a Lotus Notes form (it can be a long form depending upon the data filled in the field) and each page should contain a Footer. Footer is very large approx > 256 characters, but the Footer property of the form (6th tab of Form properties) doesn't allow more than 255 characters.
I have tried giving the footer in the "Window title" and using &W in the Footer tab of the Form properties, but the Window title is only taking 1st line of the sentence.
Can someone tell how to get this much big footer in every page and print also.
You'd better use a 3rd party tool to produce output. Some candidates: Notes2Paper, Swing, IntelliPrint