Accessing the JavaScript editor

PageCloud has the ability to add custom JavaScript to an object or to the page itself. 

This is an advanced feature. Adding, editing, or deleting content requires an understanding of JavaScript.


Accessing the JavaScript editor - Object Specific 

  1. Select the object you want to add JavaScript to, or click the “ESC” key to add JavaScript to your page.
  2. Click the "Advanced" tab in the Editing Menu.
  3. Click "Script Editor" to access the JavaScript editor.
  4. Add in your custom JavaScript. 
  5. Click "Save & Close" on the JavaScript editor, then save your page to apply the custom JavaScript.

Accessing the JavaScript editor - Page Specific 

  1. Click the “ESC” key to add JavaScript to your page.
  2. Open the Side Bar
  3. Click on "Settings". This will open the Page Settings.
  4. Click on "Advanced" on the top right. 
  5. Under "Code and Scripts" click on "Edit Scripts in JavaScript Editor". 
  6. Add in your custom JavaScript. 
  7. Click "Save & Close" on the JavaScript editor, then save your page to apply the custom JavaScript.

Accessing the JavaScript editor - Shortcut

  1. If you're looking to access the JavaScript for an object, select the object and move to step 3. 
  2. If you're looking to access the JavaScript for the page, click the “ESC” key and move to step 3.
  3. Press the “J” then “S” key in sequence.
  4. Add in your custom JavaScript.
  5. Click "Save & Close" on the JavaScript editor, then save your page to apply the custom JavaScript.

Thank you for your feedback!

Was this article helpful?
Thank you for your feedback!