Customize iNotes: Access to body field

Greetings,

I have been asked to do some customization to the inotes memo form - specifically, add a checkbox & when it is checked, append some disclaimer text to the body field.

I’ve been able to add the checkbox to the form, but now I’m not sure how to access the body field!

Has anyone else done this kind of customization? If I can’t get a handle to the body field, any suggestions on what design element the submit code is in would be helpful!

Thanks,

Kate

Subject: Customize iNotes: Access to body field

Are you persisting the checkbox field? If not, try mapping the field s_MailMemoDictionary subform in the forms6.nsf.

e.g.

As far as getting at the body field, I am not sure what the exact issue is. But you might try using your own JS functions to append the disclaimer, print out all the form elements, for debugging, etc. and put this code in it’s own subform.

In the h_HTMLHeadContent subform, include it like this:

I hope this helps.

Subject: RE: Customize iNotes: Access to body field

Thanks for the suggestions. I really appreciate the help.

I ended up with a decent solution. I added the checkbox to s_MailMemoEditCode and code to the disclaimer subform which evaluates the value of the checkbox. If the checkbox is selected, it adds the necessary disclaimer. This works because my firm uses another tool to append the standard corporate disclaimer.

  • Kate