# Perspective Property Change Scripts origin parameter

**URL:** <https://forum.inductiveautomation.com/t/perspective-property-change-scripts-origin-parameter/23916>\
**Category:** Ignition Early Access\
**Created:** [April 8, 2019, 1:08pm UTC](https://forum.inductiveautomation.com/t/perspective-property-change-scripts-origin-parameter/23916 "2019-04-08T13:08:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [April 8, 2019, 1:08pm UTC](https://forum.inductiveautomation.com/t/perspective-property-change-scripts-origin-parameter/23916/1 "2019-04-08T13:08:38Z")

</div>

When the `value` property of a Perspective DateTime Input is set by a script, the `formattedValues` properties are updated. The origin parameter of the `valueChanged` script for `props.formattedValues.datetime` is ‘`Browser`’.  
Is this the intended behaviour? I would expect the parameter to be ‘`Script`’ in this case.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [April 8, 2019, 3:38pm UTC](https://forum.inductiveautomation.com/t/perspective-property-change-scripts-origin-parameter/23916/2 "2019-04-08T15:38:00Z")

</div>

It will be `Script` for the `value` property, but it is the frontend that is altering the `formattedValues` so the origin is correct.

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [April 8, 2019, 6:30pm UTC](https://forum.inductiveautomation.com/t/perspective-property-change-scripts-origin-parameter/23916/3 "2019-04-08T18:30:28Z")

</div>

Ok, thank you.

Is there a way to prevent the value property from being deleted, so i can put a change script on it?

---

<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 8, 2019, 7:38pm UTC](https://forum.inductiveautomation.com/t/perspective-property-change-scripts-origin-parameter/23916/4 "2019-04-08T19:38:15Z")

</div>

You should be able to manually add the property yourself - just as you would any other property. You can ignore the warning which is visible as soon as you change the property key to `value`. You’ll want to remove the default value of “value” from the `value` property. At this point you should be able to create a Change Script and it should remain in place until you manually delete the `value` property.
