File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ document.setRedirect('https://eversign.com/?success');
2020document . setRedirectDecline ( 'https://eversign.com/?declined' ) ;
2121document . setCustomRequesterName ( 'Joe Requester' ) ;
2222document . setCustomRequesterName ( 'joe@test.com' ) ;
23+ document . setUseHiddenTags ( true ) ;
2324
2425var recipient = new Recipient ( ) ;
2526recipient . setName ( "Tester Test" ) ;
@@ -48,7 +49,6 @@ signatureField.setSigner("1");
4849document . appendFormField ( signatureField ) ;
4950
5051client . createDocument ( document ) . then ( function ( doc ) {
51-
5252 console . log ( doc . getDocumentHash ( ) ) ;
5353} )
5454. catch ( function ( err ) {
Original file line number Diff line number Diff line change @@ -111,6 +111,13 @@ function Document(newDocument = {}) {
111111 */
112112 isTemplate : undefined ,
113113
114+ /**
115+ * Whether the Document parses hidden tag fields
116+ * @var {Boolean} useHiddenTags
117+ * @type {Boolean }
118+ */
119+ useHiddenTags : false ,
120+
114121 /**
115122 * Set to true to enable Auto Reminders for this Document
116123 * @var {Boolean} reminders
@@ -354,6 +361,15 @@ function Document(newDocument = {}) {
354361 return document . isDraft ;
355362 } ;
356363
364+
365+ this . setUseHiddenTags = function ( useHiddenTags ) {
366+ document . useHiddenTags = useHiddenTags ;
367+ } ;
368+
369+ this . getUseHiddenTags = function ( ) {
370+ return document . useHiddenTags ;
371+ } ;
372+
357373 this . setTitle = function ( newTitle ) {
358374 document . title = newTitle ;
359375 } ;
You can’t perform that action at this time.
0 commit comments