Scriptlet: Call server scriptlet in page-level script
You can call a server scriptlet in page-level JavaScript by using the liveBallScriptlet function. Here’s an example of what this…
Scriptlet: Server scriptlets for global sets of page rules & advanced functionality
The power behind scriptlets is that you can write code for advanced, custom logic on your pages, store it centrally…
Scriptlet: Split data field values
Let’s say you collect phone number as a single field on your ion form but need to export this as…
Scriptlet: Trim Spaces
Prior to data export, you can trim any leading or trailing spaces from a field by saving a scriptlet result…
Scriptlet: Format Phone Value
//returns xxx-xxx-xxxx format function ConvertPhone(phone) { var formatted = phone.replace(/[^0-9]+/g, ”); if (formatted.length == 10){ formatted = formatted.replace(/^[2-9]d{2}-d{3}-d{4}$, ‘$1-$2-$3’/);…
Scriptlet: External URL Map
Use a look-up table combined with a scriptlet to create an “External URL Map.” The sample below correlates respondent data…
Scriptlet: Smartphone Sensing
This script may be copied into your Ion Server Scriptlet library and then used as a custom Ion advanced rule…
Subscribe
Stay up-to-date with the latest updates!
Categories
- Accordion Component
- Actions
- Anchor
- Animation
- Calculations
- Calculator Templates
- Campaigns
- Code Block
- Console
- Containers
- Content Personalization
- Content-driven Templates
- Creative Studio
- Creatives
- Creatives
- Custom CSS
- Custom HTML
- Data Management
- Data Management
- Data Management
- Data Management
- Data Management
- Embed
- Embed
- Flow Component
- Forms Component
- GoLive Process
- Icon
- Interactive Content
- Ion Integrations
- Ion Integrations
- Ion Platform
- Ion Templates
- Ion Themes
- Libraries
- Lightbox Component
- Links
- Logic-based Templates
- Lookup Table
- Micro-themes
- Navigation
- Performance Dashboard
- Performance Review
- Product Releases
- Programming
- Query String
- Responsive Grid
- Reveal Component
- Rotator Component
- Rules Overview
- Rules Overview
- Save Creative Wide
- Scriptlets
- Scripts
- SEO Features
- Snippet
- Social Share
- Tabs Component
- Tagging
- The Advanced Capabilites
- The Content Personalization
- The Creative Studio
- The Functionalities
- The Interactive Components
- The Interactive Content
- The Logic Setup
- The Platform
- The Publishing
- The Publishing
- The Reporting
- The Templates Gallery
- The Themes
- Uncategorized
- Video Component
- Widget
Tags
advanced analytics best practices calculator conversions creatives creative studio CSS custom CSS data data management design eloqua field mapping forms golive HTML hubspot imagery interactive components ion integration ion integrations ion libraries ion platform ion templates ion themes layout link logic marketo micro-themes performance publishing reporting responsive design rules salesforce script scriptlets security sell-side settings social media styling tagging