Form on multiple Layouts


#1

Hi there,
I’m trying to create a form for multiple devices/ layouts inside of Hype.
So I wrote a script, which determines whether the input field is filled or not and accordingly displays a button to get to the next step. The script works fine for the first layout in row, but the second one gets completely ignored and I have no idea why!
Please help!

Form.hype.zip (18.6 KB)


(Hans-Gerd Claßen) #2

elements on a different layout / scene are unique (except within symbols).

two choices

1.) put your form within a symbol
or
2.) change your code to work on unique elements on targetlayout (do a forumsearch for extension …)