Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
templator [2018/03/10 02:11] – [Export as PDF] o2admin | templator [2022/05/14 02:54] – [External Data] o2wiki | ||
---|---|---|---|
Line 83: | Line 83: | ||
* **Input Validation Column** See the User Input Validation Rules at the bottom of this page | * **Input Validation Column** See the User Input Validation Rules at the bottom of this page | ||
* **User Input Label Column** The label to show on the form if empty the find text will be used as a label | * **User Input Label Column** The label to show on the form if empty the find text will be used as a label | ||
+ | ==== Javascript ==== | ||
+ | |||
+ | |||
+ | |||
==== External Data ==== | ==== External Data ==== | ||
This gives you the option of retrieving data from an external source, such as a custom webpage linked to a database. | This gives you the option of retrieving data from an external source, such as a custom webpage linked to a database. | ||
Line 88: | Line 92: | ||
The server must return data in the following JSON object\\ | The server must return data in the following JSON object\\ | ||
- | '' | + | |
- | '' | + | <sxh javascript; > |
- | '' | + | { |
- | '' | + | success: ture|false, |
- | '' | + | errorMessage: |
- | '' | + | data: { |
- | '' | + | |
+ | color: " | ||
+ | } | ||
+ | </ | ||
* **success** is required. Boolean true or false | * **success** is required. Boolean true or false | ||
Line 158: | Line 166: | ||
* **Working Folder** Save to the same folder as the original document. Note: this will not work is the document is not saved. | * **Working Folder** Save to the same folder as the original document. Note: this will not work is the document is not saved. | ||
* **Sub-Folder** Save to a subfolder same folder as the original document. Note: this will not work is the document is not saved. | * **Sub-Folder** Save to a subfolder same folder as the original document. Note: this will not work is the document is not saved. | ||
- | * **Filename** Enter the filename to save as, you can include find and replace variables in there too, such as "PROOF of J{id} {jobTitle}.pdf" | + | * **Filename** Enter the filename to save as, you can include find and replace variables in there too, such as "PROOF of J{id} {jobTitle}.{ext}"\\ {ext} is the default extension |
* **Type** Select from PNG, JPEG, TIFF and PSD (Photoshop) | * **Type** Select from PNG, JPEG, TIFF and PSD (Photoshop) | ||
* **Resolution** From 72dpi to 2400dpi | * **Resolution** From 72dpi to 2400dpi |