Use of "hypeDocument.extensions"


I’m sure I’m missing something but I can’t manage to make this “Extension” to work; and give me something other than ''undefined".

I’m puzzled with “.HYPE_scene[hype_scene_index=”’+idx+’"] "

Where could I get a workable demo for this “Extension”.


I suspect you are using a Hype text box instead of a form’s textfield.

Have a look at this… (20.1 KB)

if you did want to use a text box or rectangle with text etc…
Then you would use the normal var txt = elm.querySelector(’#mytextbox’).innerHTML;

1 Like

Your suspicions were right!
Thank you for the demo; that will help to do my plan.
I want to load elements on another scene; let say textfield from scene A moved to Scene B’s element…

You may run into problems doing that, scenes are not fully constructed until they are displayed once.

Also to be honest I was never really of the opinion that this extension was that useful!.

In part because of the above

Let us know some more details if you do run into problems we may be able to find a way…