You are viewing limited content. For full access, please sign in.

Question

Question

Whenever I try to add a button element in a Custom HTML field it will route to a new page instead of an iframe

asked on October 31, 2013

 I am trying to have a custom HTML field with a input box and a button along with an iFrame. The idea being to have information input and on button press the information is extracted and used in a URL using Javascript and sent to the iFrame to show a Weblink address. 

 

What happens is when i test it outside of Forms it works fine but then inside a form it seems to always want to submit the form right away....redirecting to the same URL as when you hit the submit button

1 0

Answer

SELECTED ANSWER
replied on November 5, 2013

yes, I am.

 

I actually am going with javascript to run a javascript function whenever a change is registered for a field. Much better than a button since buttons didnt work out too well

1 0

Replies

replied on October 31, 2013

I have an answer to my own question. Seems the entire body of any form is a giant method so when a submit occurs nside of it using basic HTML then it gets confused. Looks Like I will need to try out a different method to make a button appear on the screen

1 0
replied on November 5, 2013

To clarify, you're using the Custom HTML field to create a button that, when pressed, grabs the information from a field and creates a URL from it? You're also using a Custom HTML field to create the iFrame?
 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.