Simple flash web form tutorial

Can anyone point me at a simple tutorial for building flash
forms for a web site (e.g. a contact us form).
I've been searching the web and support here for a few hours
and every path I've gone down has had a hang-up (e.g. component
parameters missing in my Flash version -- MX) or just doesn't work.
I'm 90% there in one version, but the input text data is
being passed as "_level0.name" instead of the data entered in the
"name" input field.
thx a bunch!

hi,
visit www.gotoandlearn.com. it has a video tutorial for a
contact form.
gaurav

Similar Messages

  • How can I validate a field on a Flash web form?

    I'm trying to create a Flash web form. I have many fields
    like Email, username and so on. I would like to add a code to
    validate the email, How can I program the Flash to report an error
    if the Email is invalid? or if the username is empty?
    Thank you

    you can use a conditional statement, like when the use clicks
    the 'submit' button or something, then run a check to see if
    there's anything in the fields. Where email is concerned you may
    want to check by the '@' reference. so use something like:
    if(username_txt.text == null || email_txt.text.indexOf("@")
    < 0) {
    //throw an error here and stop the sending
    EDIT: good god!!!! sorry kg :)

  • How can I add a turning number to a Flash web form?

    How can I add a turning number to a Flash web form?

    what's a "turning number"?

  • Submitting Web Form via Ajax Tutorial

    Any suggestions why following this tutorial: http://kb.worldsecuresystems.com/851/cpsid_85119.html?bc-partner results in the form submitting, but then loading up a white page with the following text?
    {"FormProcessV2Response": { "success": true, "entityId": "51918536", "objectTypeId": "Cases", "objectId": "7634958", "message": "<table class=\"tabledefault\"><tr><td id=\"title\"><strong>Summary of web form submission:<\/strong><br\/><!-- IP Address: 24.8.110.183 --><\/td><\/tr><tr><td id=\"name\"><strong>Your Name<\/strong><br\/>Brian <\/td><\/tr><tr><td id=\"email\"><strong>Email Address<\/strong><br\/><a href=\"mailto:[email protected]\">[email protected]<\/a><\/td><\/tr><tr><td id=\"casenumber\"><strong>Case Number<\/strong><br\/>7634958<\/td><\/tr><tr><td id=\"customfields\"><table class=\"tabledefault\"><tr><td id=\"CAT_Custom_409420\"><strong>Lesson<\/strong><br \/>Model Lesson<\/td><\/tr><tr><td id=\"CAT_Custom_409419\"><strong>Quiz Score Field<\/strong><br \/>90<\/td><\/tr><\/table><\/td><\/tr><\/table>" }}
    Success message is supposed to show on same page as form.
    Thx,
    Brian

    Hi,
    I managed to get this to work.....by modifying the code I found herr: User manual
    Below is my entire code....hope this helps!
    Kane
       <div id="message"></div>
    <form name="catwebformform57649" method="post" onsubmit="return checkWholeForm57649(this)" enctype="multipart/form-data" action="/FormProcessv2.aspx?WebFormID=10090&OID={module_oid}&OTYPE={module_otype}&EID={mo dule_eid}&CID={module_cid}&JSON=1" role="form" id="contact_form">
              <div class="col-sm-4">
                <div class="form-group">
                  <label for="name">Name</label>
                  <input type="text" class="form-control" name="FullName" id="FullName" placeholder="Enter name"  title="Please enter your name (at least 2 characters)"/>
                </div>
                <div class="form-group">
                  <label for="email">Email</label>
                  <input type="email" class="form-control" name="EmailAddress" id="EmailAddress" placeholder="Enter email" title="Please enter a valid email address"/>
                </div>
                <div class="form-group">
                  <label for="phone">Phone</label>
                  <input  class="form-control required digits" type="tel" name="CellPhone" id="CellPhone" size="30" value="" placeholder="Enter contact number" title="Please enter a valid phone number (at least 10 characters)">
                </div>
              </div>
              <div class="col-sm-4">
                <div class="form-group">
                  <label for="comments">Comments</label>
                  <textarea name="CAT_Custom_869" id="CAT_Custom_869" class="form-control" cols="3" rows="5" placeholder="Enter your message…" title="Please enter your message (at least 10 characters)"></textarea>
                  <br>
                  <br>
                  <button name="submit" type="submit" class="btn btn-lg" id="submit"> Submit</button>
                </div>
              </div>
             <script type="text/javascript">
    function jqsub() {
    var $f = $('#contact_form');
    var $m = $('#message');
    $.ajax({
      type: 'POST',
      url: $f.attr('action') + '&JSON=1',
      data: $f.serialize(),
        success: function(msg) {
        var formResponse = eval(msg); // This line evaluates the JSON data and converts it to JSON object. In older version of jQuery you will have to evaluate JSON object as a string.
            if (formResponse.FormProcessV2Response.success) {
                    $m.addClass('success').fadeIn().html('<h3>Thanks for getting in touch. We will get back to you as soon as we can.</h3>');
                    $f.fadeOut(); //Hide the form
        error: function(msg) {
        alert('error'+msg);
        return false;
    </script>
               <script type="text/javascript" src="http://dla.com.sg/CatalystScripts/ValidationFunctions.js"></script><script type="text/javascript">
    //<![CDATA[
    var submitcount57649 = 0;function checkWholeForm57649(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FullName.value, "Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.CellPhone) why += isEmpty(theForm.CellPhone.value, "Phone Number"); if(why != ""){alert(why);return false;}if(submitcount57649 == 0){submitcount57649++;jqsub();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
            </form>

  • How to do simple form post to payment gateway from SharePoint 2010 list form OR InfoPath 2010 Web Form?

    Working on a SharePoint 2010 Ent extranet site where parents of students can submit field trip permission forms and make payment at same time (optionally if fees involved).  Was wondering if someone could advise (or point me to resource on) best way
    to do a simple form post to an external payment gateway?  Would be from InfoPath web form OR SharePoint 2010 list form.
    Any guidance would be appreciated.
    Trevor

    you may create a custom visual web part for this:
    http://www.codeproject.com/Articles/152280/Online-Credit-Card-Transaction-in-ASP-NET-Using-Pa

  • Web Forms in Flash MX 2004

    How do I create a web form in flash that calculates both
    sub-totals and total cost? (Or an 'add to basket'' page?)
    Is it better to create HTML web form outside of flash?

    You need some kind of shopping cart product. This is the
    easiest way. I don't know of many for Flash but there are several
    for Dreamweaver (I've used Cartweaver for a few project and it's
    worked fine)
    The only other way is create your own which would involves
    ActionScript and database of prices and products, etc.

  • Simple calculator in html5 using web form elements

    Hello
    I would like to make an educational miniwebsite with my son who is getting interested in internet programming.
    I was wondering if html5 could be used to do simple math in html5 using the input of web form elements, such as radio button (for the choice of math operation: add/sub/mult/div) and two numbers in input fields.
    Then a submit equivalent would generate the output result, preferrably in a field still on the same page (without going to another page, as it is the case with submit).

    I think that you might be looking for something like this:
    http://www.developerdrive.com/2012/06/creating-a-web-page-calculator-using-the-html5-outpu t-element/

  • Conflict between Flash and CoffeeCup Web Form

    Hi
    I can't solve this and I really need some help:
    I'm developing a site using CoffeeCup webform together Adobe Flash CS4 and DW CS4 on the same page.
    When viewing through FF, Safari, Opera, Chrome both components will work although errors will be reported in error logs.
    see: http://www.realorganizingsolutions.com/ … ation.html
    When viewing through IE8 the *web form works fine* BUT the flash will only appear erratically - often not at all. To get the flash to play at all you have to click the link multiple times.
    Coffeecup uses flash to build the form hence my belief that there is a conflict in the javascript.  By commenting out the CoffeeCup web form ( starts line 38) the flash works fine which also makes me think it is the javascript in the web form.
    I am at a loss as to what to do about this. I've searched high and low. My javascript is weak.
    My Platform:
    Coffecup Web form 7.8 set to php
    Flash: CS4
    DW CS4
    Dell XP Pro
    Many Many thanks
    Vincej

    I have do that already. At first, I try to set it 1 msec but the form runtime seem like to be frozen, so I set the timer just for 300msec (I set with that value , so my clock tick can follow the system clock in difference about 99ms with the system clock tick, I could tolerance that).
    The problem is when I focusing on one text item and type something on it.
    Everytime the timer expire, It will trigger the WHEN-TIMER-EXPIRED, while in the trigger itself, I wrote one of this procedure:
    SET_APPLICATION_PROPERTY('my_window',WINDOW_TITLE,vTime);
    Everytime this procedure run, My cursor will lost its focus with the last item I entered.
    (The problem showed up if you press space-bar on the text item, because everytime you press space-bar, the cursor will return to the left position of the value in that text item. That's what I said problem with "spacing", it wouldn't do any spacing to the value in the text item).
    Of course, I have anticipation for that. I set the item property (Keep Cursor position) to true and it works fine. The cursor didn't runaway to the left, but it still wouldn't do any spacing, in other way, the cursor will return to its position of last focused text item, if the last character of the text item is space (from space-bar, I mean)It will be erased. The cursor will pretend like the last character is no space at all.
    I think that's the problem, because I can't do any space in that item (especially, if I set the timer with lower value than 300 msec).
    what I'm trying to ask is "Are there any tip or trick to make the cursor know if the last character is space and will return to the "real last" of the string in the text item ?
    Thank you for your suggestion and also thanks for your opinion, Chandrangadan, but I have already do that (It doesn't work if I set the timer lower than your 1000 ms)...
    null

  • Where can i find simple flash play/stop button tutorial

    Can anyone help me where can i find simple flash play/stop
    button tutorial. All i need to import a icon play/stop button, when
    click it load wav file.
    How can i attach media.fla
    when u click btn
    on(release) {
    CodePlayer.start();
    on(release) {
    CodePlayer.stop();
    action script
    CodePlayer = new Sound();
    CodePlayer.loadSound("ContactUs.wav",true);

    OK your sorta close. the .wav file "ContactUs.wav" couldn't
    be too large a file, and you can't use 'loadSound' with a .wav, it
    would need to be an mp3 file and you also have it set to be a
    streaming file, which I would image is not necessary.
    So under File>>import select the wav file and add it to
    the Library. Select it, right click, and select 'linkage'. Enter a
    name for the identifier like 'contact_id' and hit OK. Now go back
    to your code on frame one, main timeline and change the code you
    have to:
    var CodePlayer:Sound = new Sound();
    CodePlayer.attachSound("contact_id");
    Now in your button handlers change to:
    on(release) {
    _parent.CodePlayer.start();
    on(release) {
    _parent.CodePlayer.stop();
    }

  • Flash Format Forms No Workie

    I'm able to test a simple CFForm with Flash format on my
    personal web account and it works great. However, in the same MX 7
    environment the form won't generate. It will generate a Flash
    plugin component, but no form elements.
    I suspect that there is some possible configuration change I
    need to make on the server side for Flash formatted forms to
    appear? CFIDE directory permissions? Enable some service?
    eg, this one works:
    http://www.somareview.com/testme.cfm
    eg, this one with the same code does not work:
    http://www.clarku.edu/temp/flashform.cfm
    Thanks for any suggestions,
    Chuck

    Dear Chuck,
    I guess you have fixed the problem. Both sites work well to
    me.
    Keiko

  • How do I create a dependant drop down in a web form?

    I am trying to add a web form to a web page that includes a dependant drop down menu. For example, I'd like there to be a drop down menu called "Interested Class" with three fields: "Tribe Fit", "Tribe Life" and "Tribe Core". When a user selects one of these fields ("Tribe Fit" for example), I want a new drop down menu to appear with the following choices: "7:00am", "12:30pm", "7:00pm".
    I have attempted this here and as you can see it's not working at the moment. The time drop down fields should be hidden until an "Interested Class" has been selected.
    http://www.cityfitness.com.au/nicole-form-test?Preview=True
    I've placed my JS code in the HTML view of the actual web page as I noticed when I place it in the actual custom form it doesn't carry through to the page. I don't know if I'm placing my JS in the correct place though.
    Here is a snippet of my code if it helps:
    <tr>
                            <td><label for="CAT_Custom_328771">Interested Class</label><br />
                            <select name="CAT_Custom_328771" id="CAT_Custom_328771" class="cat_dropdown">
                            <option value=" ">-- Please select --</option>
                            <option value="Tribe Fit">Tribe Fit</option>
                            <option value="Tribe Life">Tribe Life</option>
                            <option value="Tribe Core">Tribe Core</option>
                            </select>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <div id="fit" class="times">
                            <select>
                            <option value="7:00am">7:00am</option>
                            <option value="12:30pm">12:30pm</option>
                            <option value="7:00pm">7:00pm</option>
                            </select>
                            </div>
                            <div id="life" class="times">
                            <select>
                            <option value="7:00am">7:00am</option>
                            <option value="8:00am">8:00am</option>
                            <option value="11:30am">11:30am</option>
                            </select></div>
                            <div id="core" class="times">
                            <select>
                            <option value="8:00am">8:00am</option>
                            <option value="11:30am">11:30am</option>
                            <option value="12:30pm">12:30pm</option>
                            </select>
                            </div>
                            </td>
                        </tr>
                        <tr>
                            <td><input class="cat_button" type="submit" value="Submit" id="catwebformbutton" /></td>
                        </tr>
                    </tbody>
                </table>
                <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>
                <script type="text/javascript">
    $(function () {
        $('#CAT_Custom_328771').change(function () {
            $('.times').hide();
            $('#' + $(this).val()).show();
    //<![CDATA[
    var submitcount67919 = 0;function checkWholeForm67919(theForm){var why = "";if (theForm.FirstName) why += isEmpty(theForm.FirstName.value, "First Name"); if (theForm.LastName) why += isEmpty(theForm.LastName.value, "Last Name"); if (theForm.EmailAddress) why += checkEmail(theForm.EmailAddress.value); if (theForm.HomePhone) why += isEmpty(theForm.HomePhone.value, "Home Phone Number"); if (theForm.HomeAddress) why += isEmpty(theForm.HomeAddress.value, "Home Address"); if (theForm.HomeCity) why += isEmpty(theForm.HomeCity.value, "Home City"); if (theForm.HomeState) why += isEmpty(theForm.HomeState.value, "Home State"); if (theForm.HomeZip) why += isEmpty(theForm.HomeZip.value, "Home Zipcode"); if (theForm.HomeCountry) why += checkDropdown(theForm.HomeCountry.value, "Home Country"); if(why != ""){alert(why);return false;}if(submitcount67919 == 0){submitcount67919++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}
    //]]>
    </script>
            </form>
    Can anyone please help explain to me how I can make this work? I am only a JS beginner - so please try to explain in simple terms if possible.
    Thank you!
    Nicole

    This wont work, Needs to be a lot more then this and CSS to hide things rather then script hiding them.
    Nicole, The times that are availible I gather differ depending on the type of the dropdown?
    You do not need multiple time dropdowns.
    Steps you need to do first on the form:
    1. Ensure the custom form field dropdown for interested class exists.
    2. Have custom dropdown with all the times that any of them can be. This is CSS hidden by default.
    3. Also CSS hide all the options in the select as well in your CSS.
    Next can you show what classes have what times as an example then can put the code more relevent to your example you can work off.
    The code will follow along the lines of....
    Dropdown On Change
              If selected options is xxx class then
              fade in option times  dropdown 
              Show these otpion times
            if selected option is zzz class then
              fade in option times dropdown
                   show these times
    More control as you need to work properly, only two dropdowns needed.

  • Passing a parameter list from a web form to a report

    I am using FORMS6 and REPORTS6, with OAS 4.07 on NT4 (SP3).
    In client server mode all works well - i am able to pass parameter lists from my calling form to the relevant reports and view them (using RUN_PRODUCT).
    However, when i try and do the same by deploying the web Form I come up against several obstacles.
    1. How do you pass a parameter list over without using "Paramform=Yes" - a waste of time seeing a html version of the reports parameter form when all the necessary parameters have been selected in the form.
    2. if i use web.show_document, with paramform=no, the report runs but with it's default settings.
    Any light you can shed would be greatly appreciated.

    Hi Tony ,
    Launcher form is just a simple form(Non database form) which will be having all fields that is required for the report and button to run the report .
    When button pressed trigger
    Pass all the parameters which are required using Run_product tool & Call the report by Web.Show_document
    Best way to see the report is in .pdf format in adobe acrobat reader
    I hope it will help you
    Bye
    Rao guduru

  • Slow response on Windows 2003 with web forms

    We are current running Oracle web forms on thin clients on Windows 2000 terminal server. We have installed Windows 2003 on one node of the cluster. When we run the same application on 2003, it is very slow and the screen flashes a lot. It takes 1-2 seconds to echo a keystroke. This is true for Jinitiator 1.3.1.25 and 1.3.1.18. We are using 1.3.1.18 on the Win 2000 terminal server. When I try form=test on Win 2003, the screen has colors and has poorer resolution that running the same on Win2003. The form has a grey background on Win 2000 but is magenta in Win 2003 and you can barely make out the hammer in the prompt. This happens when running from the same thin client with the same resolution and colors. Is there a setting on IE that could be causing this? Is there a problem with Win 2003? The Oracle application server is 9iAS but we see the same probelm with 10g.
    Thanks,
    Dave

    Copying my response from this thread:
    Report in Designer fast, in Viewer extremely slow
    Thread is now locked.
    A "cool" issue, form my perspective as this may be something new to think about / figure out. Not so cool from where you sit...
    Anyhow, a few things to check:
    1) Compare the runtime of your dev system and the Citrix system. Use Modules to do the comparison.
    2) Not sure what runtime was installed, but the most recent MSI / MSM are from SP 1.4:
    MSI
    https://smpdl.sap-ag.de/~sapidp/012002523100004610752009E/cr2008_fp14_ri.zip
    MSM
    https://smpdl.sap-ag.de/~sapidp/012002523100004610922009E/cr2008_fp14_mm.zip
    Trying the FP 1.4 runtime will be worth a shot.
    3) How is the performance on the Citrix when you actually sit right on the server, and not on a work station?
    4) Where is the slow down occurring (unfortunately this will require a bit of temporary code modification)? But the bottle necks typically are at:
    -report load
    - connection to the data source
    - setting of parameters
    - actual report output, be it to a viewer, export or printer.
    I suggest a possible way of tackling this in the performance article (page 4):
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8029cc96-6ff3-2b10-47a2-b30ea790ea5b
    Ludek

  • Composite Web form - Issue with Ordering of dimensions in page section

    Hi,
    I have 2 simple web-forms having same dimensions in page section and in same order. When I create the compisite web form with these 2 simple webforms and view the same, it come in different order.
    Is there any way to get the dimensions in required order / or any solution to this.
    Thanks and Regards,
    VM
    Edited by: VM on Nov 10, 2010 12:35 AM

    Hi,
    What version are you using ?
    Regards

  • #error in Planning Web Form

    Hello,
    I am getting #error in some of the web forms. It is happening just for the non-admin users. For Admins there is no issue at all. I am on 11.1.2.0.0 version. Did anyone encountered this type of issue. Please let me know how you reolved this. I tried everything like deleting the form and recreating it, refreshing security filters. The strange thing is this is happening for one line in a web form, like formula rows.

    It is a simple Sum( Row[1], row[2]) formula. I have validated the formula in the webform. I even created a new form thinking that the old form might have been corrupted. Even for the new form it is also coming as #error exactly on the same row as of the old form. This is happening to Planner users. I also tried restarting Planning services, ran UpdateUsers.cmd thinking it might help, but it didn't do anything. Any suggestions or ideas on how to fix this. I have also checked the access for the users and he is having the correct access.

Maybe you are looking for