Hi-
Is it possible to link a button on the form to the action of selecting/adding a file attachment to the document.
Cheers
Hi-
Is it possible to link a button on the form to the action of selecting/adding a file attachment to the document.
Cheers
Subject: Button with file attachment functionality
@Command( [EditInsertFileAttachment] )
Subject: Button with file attachment functionality
This returns an error “Cannot execute the specified command”
Id imagine this is because it loses focus on the rich text field?
Can I focus on the field prior to the @Command([EditInsertFileAttachment])?
Subject: RE: Button with file attachment functionality
You would need to use an action rather than a button in to maintain focus. A button can use @Command([EditGotoField]) to get back to the original rich text field, but there’s no way to get back to the original cursor position within the rich text field. Unlike a button, an action never receives cursor focus, so the insertion point will remain in the same place in the rich text field.
Subject: RE: Button with file attachment functionality
Solved
@Command( [EditGotoField] ; “Body” );
@Command([EditInsertFileAttachment])
Thanks