# Scripting Functions of Signature Pad doesn't work any in 8.1.4 any more

**URL:** <https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751>\
**Category:** Ignition Early Access\
**Created:** [April 19, 2021, 2:23pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751 "2021-04-19T14:23:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 19, 2021, 2:23pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/1 "2021-04-19T14:23:03Z")

</div>

Both .clearSignature() and .submitSignature() Scripting Functions of the Signature Pad doesn’t work any more in 8.1.4. It seems a regression.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 19, 2021, 2:40pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/2 "2021-04-19T14:40:20Z")

</div>

I just tested both of the function in 8.1.4 and found that they worked as expected. Can you provide some insight into why you don’t think they’re working?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 19, 2021, 2:58pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/3 "2021-04-19T14:58:01Z")

</div>

Hi  
I use this example from forum. But it doesn’t work at it shown.  
[SignaturePad\_20200304135553.zip](https://forum.inductiveautomation.com/uploads/short-url/fAow84MvxIyuFk8lyTHNbiX9m2p.zip) (32.8 KB)  
 ![s](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/4/c4e890fa2b1df7d0d69ff8f25a3e5ce52b1bcc72.gif)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/1/c112646ca8e0a4f2c3e9f59c45a7f7736c5f606e.png)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 19, 2021, 3:02pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/4 "2021-04-19T15:02:03Z")

</div>

Do you see any errors in the Gateway logs? My test attempt did not rely on the reference chain (parent.parent.child.child) which your example does, and mine worked fine.

Update: it’s not the signature pad, it’s the spaces in the component names.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 19, 2021, 3:34pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/5 "2021-04-19T15:34:15Z")

</div>

> [@cmallonee](#):
>
> component

You are right about the spaces now it is working. But shouldn't it be working with name with spaces in it? It is very normal and common to use space in component name  
If yes, is it bug?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 19, 2021, 3:45pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/6 "2021-04-19T15:45:14Z")

</div>

It should work, yes (and so this is a bug), but I haven’t been able to verify it is a regression just yet.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 19, 2021, 4:00pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/7 "2021-04-19T16:00:13Z")

</div>

Could you send me this View? While attempting to replicate this in older environments I found that my original attempt had not saved a script change and that was resulting in my being able to replicate it. Once I repaired my script in 8.1.4 the component began working correctly.

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 19, 2021, 4:10pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/8 "2021-04-19T16:10:41Z")

</div>

[SignaturePad\_20200304135553.zip](https://forum.inductiveautomation.com/uploads/short-url/fAow84MvxIyuFk8lyTHNbiX9m2p.zip) (32.8 KB)

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 19, 2021, 4:48pm UTC](https://forum.inductiveautomation.com/t/scripting-functions-of-signature-pad-doesnt-work-any-in-8-1-4-any-more/45751/9 "2021-04-19T16:48:16Z")

</div>

This appears to only be failing in the Designer. When I open the supplied view in a session the script behaves as expected. The request being made relies on a constructed request to the component which references an ID for the component which is constructed using the page+view+component path. Since the Designer has no PAGE, the ID is incorrect, and the clear/submit events will not occur. This isn’t a bug, because the Designer should not be used for front-end execution logic.
