# More Editor Widgets Types

**URL:** <https://forum.sambapos.com/t/more-editor-widgets-types/10434>\
**Category:** V5 Request\
**Created:** [April 20, 2016, 2:12pm UTC](https://forum.sambapos.com/t/more-editor-widgets-types/10434 "2016-04-20T14:12:56Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pauln](https://forum.sambapos.com/user_avatar/forum.sambapos.com/pauln/32/12698_2.png) [@pauln](https://forum.sambapos.com/u/pauln)\
**Post date:** [April 20, 2016, 2:35pm UTC](https://forum.sambapos.com/t/more-editor-widgets-types/10434/9 "2016-04-20T14:35:59Z")

</div>

umm Yes just been Googling “HTML Checkbox Value” and it seems the mighty JScript is involved to get the value!

So the key would be to understand how inject & invoke worked? Are these Samba or Jscript?

I dunno kendash, there is a lot of coding required, I reckon a few more _itsy bitsy widgets_ might be easier 😄

**REFERENCES:**

> [@Help understanding Scripting in HTML Viewer Widget?](https://forum.sambapos.com/t/help-understanding-scripting-in-html-viewer-widget/2856/15):
>
> Just to give people a head-start to doing things with Javascript… When it comes to Javascript in a Webpage, we basically have 3 layers: Window (the HTML portion of the page) Document (DOM - Document Object Model) Javascript It’s important to know which layer (or Object) you are trying to affect, because different types of Objects have different Methods and Properties. Take the following code for example: window.location.href = 'http://localhost/?screen=PURCHASE'; document.body.style.backg…

> [@How to link a product to a button automation in the entity screen](https://forum.sambapos.com/t/how-to-link-a-product-to-a-button-automation-in-the-entity-screen/6135/5):
>
> Yes a little advanced but inside HTML Viewer Widget we can access few SambaPOS functions. Enabling widget’s Scriptable setting will enable this feature. Example HTML File Displays in HTML Viewer Clicking Click Me button executes automation command. Rule Setup I hope you’ll be able to connect pieces. PS: @QMcKay sorry for publishing your wifi password. still working on your setup wink

> [@Help is needed with Set Widget Value action](https://forum.sambapos.com/t/help-is-needed-with-set-widget-value-action/2789/79):
>
> Update: I’ve also added basic support for parameters so we’ll be able to pass values into scripts. it accepts color parameter. and we add parameter like that. I think we’ll be able to use printing tags here. It changes to blue. @QMcKay Thank you very much for the inspiration. I can imagine how we’ll be able to improve that to create amazing integrations.

Ok it all in one place now!

---

_[View the full topic](https://forum.sambapos.com/t/more-editor-widgets-types/10434)._
