Multiple Forms in a Flash Document and Posting Using ASP

Hello everyone!
I have some what of a dilemma on my hands. I am creating
multiple forms in one document using Flash and need them to post
using ASP script. I have been researching this for the last six
days, and I have had NO luck. I have noticed that all the
information that I have found is for one form, not more than one.
What I have so far is the Flash document, with 4 forms. The
basic idea is that a user chooses from a drop down menu (the
combobox) a location, and depending on the location chosen, it
takes the user to another frame in the flash document. The forms
(all their own movie clip) contains a name field, a department
field, and either a manager name a userID field or an employee
number as well as the basic buttons for submitting the form or
resetting the form.
So far what I have working is the drop down menu (combobox)
taking me to the proper frame and it shows the appropriate form.
The reset button clearing the form (deleting any information that I
have imputed into the input fields), but I have absolutely NO idea
how to get the submit button to work (I did manage to get it to
send me a message if there was nothing in one of the input fields),
and NO idea how to get the information to the ASP file.
Where there are 4 forms do each of them have to have their
own ASP file attached to them, or can I use one?
If anyone knows a site that deals with multiple forms in one
SWF and posts using ASP that would be greatly appreciated, or if
you know some actionscript that could be helpful.
Thank you all in advance.

That would be part of my problem, I really don't know ASP,
and I am flying by the seat of my pants.
The current script I have for the ASP file is:
<% @Language = "VBScript" %>
<%
Option explicit
Dim strfullName
Dim strdeptName
Dim strmanagerName
Dim strobjeemail
Dim strlocation
strfullName.Request.Form("fullName_txt")
strdeptName.Request.Form("deptName_txt")
strmanagerName.Request.Form("managerName_txt")
strlocation.Request.Form("locationName")
Set strobjemail = CreateObject("CDO.Message")
strobjemail.From = "[email protected]"
strobjemail.To = "[email protected]"
strobjemail.Subject = "Program from " + strlocation
strobjemail.Body = "This user has completed this progrmam
from " + strlocation & Chr(13) & Chr(10) & "Name: " +
strfullName & Chr(13) & Chr(10) & "Department: " +
strdeptName & Chr(13) & Chr(10) & + "Manager: " +
strmanagerName
strobjemail.Send
Set strobjemail=nothing
%>
The AS code that I have so far is:
function formValidationChecks(){
if (fullName_txt.length==0){
status_txt.text = "Please enter your Name";
else if (deptName_txt.length==0){
status_txt.text = "Please enter your Department";
else if (managerName_txt.length==0){
status_txt.text = "Please enter your Manager";
else {
status_txt.text = "Thank You!";
variables.fullName_txt = fullName_txt.text;
variables.deptName_txt = deptName_txt.text;
variables.managerName_txt = managerName_txt.text;
varLoader.load(varSend);
trace("-----");
trace("Name: "+fullName_txt.text);
trace("Department: "+deptName_txt.text);
trace("Manager: "+managerName_txt.text);
trace("Form validated");
submit_btn.onRelease = function(){
status_txt.text = "";
if(formValidationChecks()){
var lv = new LoadVars();
lv.fullName_txt = form.fullName_txt.text;
lv.deptName_txt = form.deptName_txt.text;
lv.managerName_txt = form.managerName_txt.text;
lv.sendAndLoad("mail.asp", lv, "POST");
reset_btn.onRelease = function()
fullName_txt.text = "";
deptName_txt.text = "";
managerName_txt.text = "";
So far my reset button clears everything, and the submit
button is tracing the content in the form fields, but it's not even
grabbing the asp page.
Any suggestions? Even pages that have tutorials that are in
the form of a video.
Thanks

Similar Messages

  • GR/IR from miro document and posting date.

    Hi experts,
    Is there any proper way to selecting data.
    My purpose is getting GR/IR on Miro Document and Posting date basis.
    THE CODE IS.
    TABLES : bkpf, rseg, bseg.
    DATA : BEGIN OF it_bkpf OCCURS 0.
            INCLUDE STRUCTURE bkpf.
    DATA : bbelnr TYPE bkpf-belnr,
          bgjahr TYPE bkpf-gjahr.
    DATA : END OF it_bkpf.
    *data : it_bkpf like bkpf OCCURS 0 WITH HEADER LINE.
    DATA : it_rseg LIKE rseg OCCURS 0 WITH HEADER LINE.
    DATA : it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
    DATA : bbelnr TYPE bkpf-belnr.
    DATA : bgjahr TYPE bkpf-gjahr.
    DATA : bawkey TYPE bkpf-awkey.
    data : dmbtr1 type bseg-dmbtr.
    data : dmbtr2 type bseg-dmbtr.
    PARAMETERS : p_budat LIKE bkpf-budat.
    SELECT SINGLE * FROM bkpf
      WHERE budat = p_budat
      AND blart = 'RE'.
    WRITE :/ bkpf-awkey(10).
    WRITE :/20 'I/R'.
    WRITE :/20 sy-uline(30).
    SELECT * FROM bseg
      WHERE belnr = bkpf-belnr
        AND gjahr = bkpf-gjahr.
      IF bseg-shkzg ='H'.
        bseg-dmbtr = bseg-dmbtr * -1.
      ENDIF.
        dmbtr1 = dmbtr1 + bseg-dmbtr.
      WRITE :/20 bseg-belnr, bseg-dmbtr.
    ENDSELECT.
    bbelnr = bkpf-awkey(10).
    bgjahr = bkpf-awkey+10(4).
    SELECT SINGLE * FROM rseg
      WHERE belnr = bbelnr
      AND gjahr = bgjahr.
    SKIP 2.
    CONCATENATE rseg-lfbnr rseg-lfgja INTO bawkey.
    SELECT SINGLE * FROM bkpf
      WHERE awkey = bawkey.
    WRITE :/20 'G/R'.
    WRITE :/20 sy-uline(30).
    SELECT * FROM bseg
      WHERE belnr = bkpf-belnr
        AND gjahr = bkpf-gjahr.
      IF bseg-shkzg ='H'.
        bseg-dmbtr = bseg-dmbtr * -1.
      ENDIF.
        dmbtr2 = dmbtr2 + bseg-dmbtr.
      WRITE :/20 bseg-belnr, bseg-dmbtr.
    ENDSELECT.
    dmbtr1 = dmbtr1 - dmbtr2.
    skip 2.
    write :/ dmbtr1.

    self solved

  • GR document and posting date issue for initial stock upload are overidden

    Hi all
    Loading initial stock into the system using standard idoc message type MBGMCR and basic type MBGMCR02.
    We are trying to post the intial stock upload with posting and document dates in past with this idoc. The Idoc is accepted with these dates but while posting the system is overiding these dates and posting the document with system date. Any clue as to what is happening?
    Regards,
    Amit

    Hi Jurgen
    I am aware about the posting being possible till the last period.
    But the system over-riding the posting and document dates in the IDoc even if I chose previos day's date in the current period. The dates in the IDoc are correct to be in the past. The IDoc is accepted by the system with the document and posting dates in the past.
    But dates in the document after posting are system dates. Very unsual. Please let me know the reasons.
    Thanks for the reply.
    Cheers,
    Amit

  • For a particular document type posting using FB50/F-02 should be restricted

    Hi all,
    I have a requirement that, for a particular document type posting using FB50/F-02 should be restricted.
    Any idea?
    Thanks,

    Hi,
    what Exactly i need to write in validation is...
    PREREQUISITE.
    company code eq '0001' or '0002' or '0003'.
    and doc type 'XX'.
    CHECK
    data: l_flag type c.
    check action eq 'BU'.    "only when clicked on 'post' in FB50
    Import l_flag from memory id 'YMMID'.
    if l_flag eq ''.
    endif.
    message
    'Doc cann't be posted'.
    Is it possible to write above code in validation?

  • Can't get simple Flash document to post to web site.

    I have created a simple page in Flash CS4 for my class and for some reason when I go to publish the page online all I get is an empty page colored blue (background) but neither the title or any of the graphics or images on the page show up, it is kjust a blank blue page on the web browser. I really need an explanation for this  so that I do not fail the project. Please help!!
    This is the link to the page I am getting and if you can please view the source code and tell me what in the world is wrong:
    http://zlloyd1.com/MachoaNorfolkHistory.html I know it is something to do with the paths to the image files but they are all present in my online images folder and I do not know how to modify the HTML file created when you publish a Flash document. I do have some experience with HTML coding but this is not something I recognize. I will await your reply!!
    Lost,
    Zachariah A Lloyd

    Dear Adobe Support,
    I am not entirely sure how to add attachments to a forum post. Could you please explain this to me and I will be more than happy to attach the swf file?? I will await your reply and thanks again!!
    Zack Lloyd

  • BAPI to copy the FI reverse documents and post the actual documents

    Hi,
      We are facing a issue where I need to copy a FI (FB03 ) reversal document and do the actual posting document.
    Regards,
    Ankit Gupta

    Hi MUkesh,
    If you would like to delete multiple documents then it is not possible.  Check OSS note 849742.
    Please find the Note details below.
    Summary
    Symptom
    You want to delete several physical inventory documents, but this involves too much manual work, as the documents must be deleted individually in MI02.
    Other terms
    MI02, delete physical inventory documents, SHDB, recording
    Reason and Prerequisites
    In the standard version, you can only delete inventory documents individually using Transaction MI02. A mass transaction or BAPI currently does not exist, and none is currently planned.
    Solution
    You can use standard functions to create a program that can delete several physical inventory documents at once. To do this:
    1. In Transaction SHDB, create a new recording using MI02.
    2. Also in SHDB, create a function module from the recording.
    3. Create a program based on this function module. Define the selection screen based on your needs. You can also create your own transaction for the program, if necessary.
    And I see the only way to delete the documents as per my knowledge is just MI02
    Edited by: Raj on Jul 30, 2010 5:01 PM

  • How do I include multiple hyperlinked indices in a document and include keyword different from the word they link to?

    I would like to include multiple indices in my ID document. How do I do that? I only managed to create a single index. And how do I let an index refer to a different word than the one in the text (e.g. "car" and "plane" are in the text but their index entry is "vehicle")? And how do I turn all index entries into hyperlinks?

    I would like to include multiple indices in my ID document. How do I do that? I only managed to create a single index. And how do I let an index refer to a different word than the one in the text (e.g. "car" and "plane" are in the text but their index entry is "vehicle")? And how do I turn all index entries into hyperlinks?

  • Multiple Form Tracking in marketing documents

    Dear all,
    I have a scenario wherein I need to track multiple forms like Form C & Vat 47 or Form C & Vat 49 during purchase/ sales. But in SAP B1 2005 we can track only 1 form per marketing transaction. Kindly suggest a workaround.
    Thanks

    Create 2 user defined fields(UDF's) one for form type(Set default value)
    and another for entering form number.
    U can also make form type depending on business requiement.
    Jeyakanthan

  • Changes between park document and post document

    Hi SAP Gurues
    Depending upon the business practice at the time of posting the approver changes the figure once the document is posted.How to know what are the changes have been made between the parking and posting.How to know it?
    Your kind cooperation is solicited.
    sk

    Hi,
    It better to use save as completed - reason being when SAVE AS COMPLETED the entire document is checked for parking i.e, simulted before parking.
    Eg,
    If cost center us not assigned, then when SAVE AS COMPLETED the an error msg will pop up.
    if you want user to use only SAVE AS COMPLETED then in FB00 you can set the indicator for each individual.
    Hope this info is usefull.
    Thanks
    Sujai C

  • I linked my ipad 2 to my desktop.  I opened an excel document and can use it when I'm linked.  How do I save it to my ipad and use it when I'm not linked

    help

    You will need to get the file into the Numbers app and there are a few different ways to do that. You could email the file and then use the "Open In" feature (tap and hold down on the open file in the email and select "Open In Numbers" from the resulting window) use iOS file sharing or maybe DropBox.
    I use file sharing with Pages which is another iWorks app. Read this for more information.
    http://support.apple.com/kb/HT4094

  • Case insensitive search and replace using ASP and Oracle database

    I am interested in providing a case insensitive search and replace query in a Active server page. At present data is collected from a html form which passes the text values to a ASP page. The ASP page runs a search (select query) to find if the data is already in the Oracle database, if it isn't the ASP page runs sql (INSERT) to insert the record, if not the page returns a form indicating that the record already exists. At present we can convert the case of new records using the VB UCase() function. But can't do a insensitive search with the existing records. *The Query must be able to utilize ASP variables.
    Any help would be much appreciated.
    David Cheryk
    null

    I can't check your script right now since I'm not on Mac. I recommend you to use FindChangeByList script for CS4 instead (it works with CS3): http://forums.adobe.com/servlet/JiveServlet/download/2080627-12695/FindChangeByListCS4.zip together with Martin Fisher's: http://www.kasyan.ho.com.ua/downloads/RecordFindChange_CS3_Kas.zip
    Use this script to record settings from Text and GREP tabs, then copy and paste them into FindChandgeList.txt file.
    Or, optionally you can use this script: http://www.kasyan.ho.com.ua/find_change_by_queries.html.
    Kasyan

  • How do I copy and paste a gradient color from one document and then use the gradient on another document?

    I am making business cards. On the back of the cards there are two lines with gradients. Below is a card with a magenta gradient. I want to select both lines and change the magenta gradient to the orange gradient from the file below. How do I do this? (I do not want to copy a paste the orange lines and then move them over the magenta ones.) I just want to select the magenta lines and change their color to the orange gradient. This will insure absolute alignment. I want to do repeat the process with several other gradients too. Thank you.

    David,
    As I (mis)understand it, you may:
    1) Copy one orange gradient path to the magenta gradient path document;
    2) Select the two magenta gradient paths and change the Fill to None;
    3) Select the orange gradient path;
    4) Select the two magenta gradient paths and change the Fill to Gradient.
    That should give you the desired replacement. For multiple use of the same gradient, you may consider a gradient swatch.

  • Flash CS4 and database use (MySQL, ACCESS, etc.)

    Hi,
        can somebody please tell me where to find tutorials on how tp use databases with Flash CS4 ?
    I have created a form, an email page and a username/password protected pages, but I cannot find any tutorials that would help me how to connect to a database.
    Thanks in advance for your help !
    GGour

    Hi Kglad,
                  thanks for the info....
    Do you know of any tutorials about this subject ?
    I am new to action scripting and learned Flash by studying tutorials at Lynda.com.
    I was just wondering if there was a title touching that subject, from Lynda or any other provider.
    How did you learned how to use databases in conjunction with flash ?
    Thanks again for your help !
    GGour

  • No documents and still using memory

    When I open my iCloud on my Mac and go to settings and it shows me some memory called documents, but i don't have any documents not on my iPhone not on my Mac but it still shows me memory, please help.

    Turn off your iTunes and iCloud activation, especially turn of your iCloud photos syncing. Then you have to restore your device via iTunes.
    I highly recommend you use 8.1.2 and update your OS.

  • How can i use an airport base station and multiple airport expresses with U-verse and still use wireless tv boxes?

    I just got uverse, and when I put my Airport Base Station in Bridge mode I lose access to the 4 airport express stations I have. Can anyone tell me how to turn off the u-verse wireless, set up a network with all the apple stations and still have wireless u-verse tv boxes work? Thanks!

    Can I relocate the airport base station to downstairs and connect it to the Sawtooth there for receiving wireless from the Verizon router and broadcast further to its wireless network?
    Sorry but no the AirPort Extreme base station (AEBS) will not wirelessly connect to the network provided by the Verizon FiOS router.
    What you could do is get another AEBS, an AX, or a Time Capsule and place that downstairs. Then use that device to wirelessly connect to the wireless network provided by your current AEBS. If your current AEBS is not 802.11n capable then you would need to use WDS to make this happen. One bad thing about WDS is that each WDS link cuts your affective wireless bandwidth in half.

Maybe you are looking for

  • PI 7.4 java stack only, Acknowledgement creation not triggered

    Hello everyone I have one IDoc-To-File scenario working fine, including acknowledgements (ALEAUD) being sent back to the sending system. The message log in such cases looks like this: But I have another IDoc-To-HTTP scenario for which the acknowledge

  • Using SHIFT Key to change/create libraries

    I recently moved my I-tunes from my PC HD to an EHD for more space. I used the "Hold Down Shift Key" when opening itunes to create a new library for the EHD. How do I delete the old library (all files are gone from it) so I can click on the Itunes de

  • Remote app closing immediately upon launch

    Apple Remote app launches on my ipad and then immediately closes.  This has just started happening.  I've not updated any OS.  I've tried uninstalling and then reinstalling. No love.  Any suggestions?  Currently running 7.0.6.   Thanks

  • DNxHD playback ...

    I just started using DNxHD to create master files of my home movies and also a movie logo I use in bicycle cam movies.   I select Quicktime as the Format, then under the Video tab select Avid DNxHD codec, make sure the parameters match my source, and

  • How do you slow down Siri's voice speed?

    How do you slow down Siri's voice speed?