What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Form in swf flash website?

    Asked by mat on March 21, 2011 at 11:52 AM

    can i add a form into a swf flash website?

    i don't usually use flash websites, just html so please be specific with any instructions.

  • Profile Image

    Answered by DanielGriffin on March 21, 2011 at 12:05 PM

    hi there,

    Flash does have some limited support for html areas using the htmlText property.  However you might have some problems with the associated javascript.  You could try to embed Jotform using a script block rather than the full source code.  To do that, go to your form and click "Embed Form", then select "Embed"

    Also take a look at this Adobe page in htmlTest

    http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary745.html

    thanks,

    Daniel

  • Profile Image

    Answered by exactrepair on March 21, 2011 at 12:33 PM

    where would i embed the code?

    or

    is there a way to use a form made within flash through jotform?

    I put this in the actions for the frames:

    formtext.html = true;
    formtext.html = <script src="http://www.jotform.com/jsform/10792747219"></script>;

    The above code gives me a operand error...

    Let's say i do this:

    formtext.html = true;
    formtext.html = "<script src="http://www.jotform.com/jsform/10792747219"></script>";

    Then the "<script src=" turns green and the rest of the code greys out... what operand can i put in there to avoid this?

  • Profile Image

    Answered by DanielGriffin on March 22, 2011 at 10:30 AM

    Sorry,

    As I say, there is only limited support for HTML and many tags are ignored, so it might not work.  But you should be using fieldname.htmlText rather than fieldname.html. Also, you are using the same quotes throughout your string, so actionscript thinks that the quote closes half way through the string.  Try using double and single quotes (for the src part)  to break it up.

    So, using your example code it would be.

    formtext.html = true;
    formtext.htmlText = "<script src='//www.jotform.com/jsform/10792747219'></script>";

    Thanks,

    Daniel