This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Farbod Faramarzi
Posted Nov 19 - Read on Facebook

Is there anyway of getting the value from a inputfield (layerA.html = "<input> etc" and comparing it to say a string? Im stuck, anyone have any suggestions?

3 Comments

George Kedenburg III

If you give the input an ID when you inject it, you can do a document.getElementById('<ID>').value and compare that

Farbod Faramarzi

George, tried that but getting null.

Farbod Faramarzi

Or wait! Sorry, made a typo. That fixed it. Thanks.

Read the entire post on Facebook