HTML assets
The following API can be called to get a cached authentication token from SAM, which can be used for Samples, Registration Brochure, Dynamic asset...
Mon, 11 Sep, 2017 at 10:01 AM
Intercepting an HTML asset's [DONE] button let's you create any kind of cool tricks with HTML assets. You can have a popup message...
Wed, 29 Mar, 2017 at 2:20 PM
The code to open the native iOS calendar is as below. Update the index.html with the dates and times of the calendar entry: <span img id="add...
Tue, 9 Oct, 2018 at 9:07 AM
IMPORTANT: This feature is only supported on iOS and Android and must be bypassed if the asset is loaded to myINTERACT Desktop.
The code below ...
Mon, 8 Jan, 2018 at 9:09 AM
To use analytics in your asset you must import the SAM frontend javascript library. You can use the following link to import or download the librar...
Mon, 1 Aug, 2022 at 3:37 PM
Set the HTML placeholder attribute to the desired mask on the input field:
<input type="text" name="FieldName" placeholder...
Mon, 8 Jan, 2018 at 9:37 AM
How to link to 3rd party JavaScript libraries? Is it ok to link directly to online-hosted libraries?
Linking to online-hosted libraries is not recommended, as there is always a possibility that the device will be offline and linked libraries won’t be lo...
Mon, 8 Jan, 2018 at 9:10 AM
On input field you need to use HTML max length attribute e.g.:
<input type="text" name="FieldName" maxlength="10" ...
Mon, 8 Jan, 2018 at 9:37 AM
HTML5 Video tag can be used to embed a video.
<video src="IN_video1.mp4" controls="controls" autoplay></video>
...
Mon, 8 Jan, 2018 at 9:03 AM
Yes. To link to a SmartPDF asset, use the sample code below.
<a href="nextinteract://open?id=9241&path=pdf/a.pdf#2"> LINK...
Mon, 8 Jan, 2018 at 9:10 AM