Contact.php file for my XML, Flash based contact form

I am trying to create a contact.php file for my XML, Flash based contact form.
Anybody know some good tutorials Please introduce me !
Amanda Nguyen

I think that I should post the 2 .xml files here:
structure.xml
<?xml version="1.0" encoding="utf-8" ?>
<contactFormStructure>
<formItems>
  <item id="1" label="Name" required="true" />
<item id="2" label="E-mail" required="true">
  <validator>EmailValidator</validator>
</item>
  <item id="3" label="Message" required="true" />
</formItems>
  </contactFormStructure>
configuration.xml
<?xml version="1.0" encoding="utf-8" ?>
<contactFormConfiguration>
<emailTo>[email protected]</emailTo>
<serverProcessorType>php</serverProcessorType>
<serverProcessorFileName>contact</serverProcessorFileName>
<validateRequiredOnly>false</validateRequiredOnly>
<submitFormOnEnter>true</submitFormOnEnter>
<messageSentText>Thank you for your message.</messageSentText>
<messageSentFailedText>The form is not submitted.</messageSentFailedText>
<formProcessingText>processing...</formProcessingText> 
<plainText>false</plainText>
<emailFromSource>2</emailFromSource>
<subjectSource>Contact Form from your site</subjectSource>
<validationErrorMessages>
<message type="fieldIsRequired">{LABEL} is required.</message>
<message type="emailNotValid">{LABEL} - is not valid email address.</message>
<message type="minCharsLimitError">{LABEL} - The specified number of characters in a field is less
than a required minimum.</message>
<message type="reqExpError">{LABEL} - The specified string does not match with the regular
expression.</message>
<message type="biggerThanMaxError">{LABEL} - The specified number is greater than an acceptable
biggest number for this field.</message>
<message type="lowerThanMinError">{LABEL} - The specified number is lower than an acceptable
lowest number for this field.</message>
<message type="notANumberError">{LABEL} - The data is not a number.</message>
<message type="negativeError">{LABEL} - The specified number must not be negative.</message>
<message type="minRequirementError">{LABEL} - The minimum number of variants is not
selected</message>
<message type="maxRequirementError">{LABEL} - The number of variants selected exceeds the
maximum</message>
<message type="shouldBeEqualError">{LABEL} - values do not match</message>
<message type="dateIsNotValidError">{LABEL} - date has wrong format</message>
</validationErrorMessages>
</contactFormConfiguration>
I am working and learning and I would like to create the contact.php for my contact form.
Please help !
Amanda

Similar Messages

  • Where the source files for examples of FLASH of the manual (flash_as3_programming.pdf)

    Good, I wanted to know where to find the source files for examples of FLASH programming manual with Adobe ActionScript 3.0 (flash_as3_programming.pdf), each sample has a link that had to change and send me the Adobe Developer Center. Thanks,.

    Hi,
    I had the same problems with the samples. But I got different message. but, instead of typing "ant build", I entered only "ant" on the prompt and I was able to built it.
    So, in the comamnd prompt goto your example directory and enter only ant .
    The ant will read the build.xml file and you should be able to get it.
    bye

  • How to create table for XML schema-based Interface form

    Hi All,
    With tcode SFP to crate  a XML schema-based Interface form, how to create a defined table can be listed in "Data View"?
    Just like APAP Dictonary- Based Interface form, that we can drag  a defined table from data view to the panel.

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • Problem exporting FXG file for use in Flash

    I have a simple rectangle with a 3D-bevel effect built in Illustrator that I need to export as an FXG file for use in Flash.
    When I export from Illustrator to an FXG format, it creates bitmaps and embeds those in the FXG file.
    if  i import directly into Flash CS5 there are transparent gaps (and the  symbols created are very complex), and it warns me that the objects  aren't compatible with flash and they should be converted to bitmaps  first.
    Is there a way to export the object to an FXG file and keep it in a vector format?
    if  not, and this may be an Illustrator question, is there a way to create  the same kind of effect so that I can get an end FXG object that will  work in Flash?
    An example of what I am seeing is posted here: http://idg-partners.com/flash_issue.html
    Thanks in advance.

    Is there a way to export the object to an FXG file and keep it in a vector format?
    Create the bevel edges as separate objects with gradient fills. not sure why you need AI, though. You can do that jsut the same directly in Flash...
    Mylenium

  • How to create HTML fragment and PHP file for CONTACT FORM?

    Hello!
    I need to add a contact form to my website.
    I don't want to use wufoo or similar.
    Can someone write a code to have a form:
    NOME:
    MAIL:
    MESSAGGIO:
    and file .php ?
    Regards.
    Thanks a lot.

    Where are you publishing your site to? If MMe, then MobileMe does not support php and you don't need php to create a contact form - just good old html.
    If you are uploading to a server/host such as GoDaddy, then you can use the FormMail option too, but you still need to write your own html code - others will not do it for you.
    I would suggest that you visit this site - http://www.w3schools.com. This site tells you about how to write html code for most things, including contact and feedback forms. Look at this and then write your own code from this.
    If you can't manage to do it, then I would suggest that you need to use something like http://www.wufoo.com or GoogleDocs - Google Docs is a good alternative.
    Also, do a search of this forum for contact or contact and feedback forms where you will find lots of questions on this and where you will then find code examples that have been linked to.
    If you try it yourself, you will learn more quickly rather than asking others to do it for you.

  • Optimize php page for browsers lacking flash, so that it replaces flash objects with static images

    Hello,
    I basically want to have my php pages with flash swf objects to be smart enough to replace the flash swf's with static images or other content for the non-flash user (iphone, ipad, etc.) who visits the website.  I guess this would be an option or perhaps a script that just sent the visitor to a version of the .php page that is tailored to them, a version of the page designed for non-flash users.
    I've done a little bit of reading up and have found that some people like to use DOM scripts like
    Unobtrusive Flash Objects (UFO) v3.22
    or what seems to be the successor:
    SWFObject 2.0
    What is better?  Is there a better script out there to use at this point?  Advice would be much appreciated.

    I guess I will reiterate this.
    I would like someone to tell me which one of these scripts that I have mentioned above would be best to use.
    What am I trying to do?  Well from my understanding these scripts allow me to have multiple versions of the website, so that it loads up with static images in place of the flash swf's for... NON FLASH USERS.
    The script will be able to detect whether the flash capabilities of the browser are sufficient, and if not display the web page accordingly.
    SO.  I'm looking for an answer as to what is the best script to use, if it's not one of the scripts I am asking about.
    @The Shocker.. if I wanted to research it on the net by googling, which I already have, I wouldn't be using this forum.  I'm looking for someone who is knowledgeable in this area of expertise to give me a recommendation, based on information they can give me that is logical and clear.  And then I can do further research once I feel I'm being sent in the right direction.
    Thanks in advance to anyone who would like to offer me some direction on this.

  • 404 error when hit submit from php file for requested path E:\vise\jqproject\web\errorpages\403_error.htm

    I have a php script that when I hit submit, it submits the form to another php file with a get command.  This worked about a month ago, but this month it's having issues.  This is what the relevant code looks like in the table php file. Running
    table.php shows the table in the browser and has 404 errors when I hit submit.
    table.php:
        <body>  
            <h1> Visual Evaluation Entry Table </h1>
            <form method="get" action="visEupload.php">
        <table id="bigTable" border="1">
            <thead>
             <tr>
               <!--<th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>-->
             <th id="bandY" class="col3">Bands @263mm Y</th><th id="bandM" class="col3">Bands @263mm M</th><th id="bandC" class="col3">Bands
    @263mm C</th><th id="bandK" class="col3">Bands @263mm K</th><th id="Comments" class="col3">Comments</th>
             </tr>
            </thead>
            <tbody>
                <tr name="MCBands" id="9214">
                    <!--<td><input name="Yevaluation" ></td>  //Row 0 Column 1-->
                    <!--<td><input name="Mevaluation" ></td>  //Row 0 Column 2-->
                    <!--<td><input name="Cevaluation" ></td>  //Row 0 Column 3-->
                    <!--<td><input name="Kevaluation" ></td>  //Row 0 Column 4-->
                    <!--<td><input name="comment" ></td>  //Row 0 Column 4-->
                    <td><input name="bandY" ></td>  <!--//Row 0 Column 1-->
                    <td><input name="bandM" ></td> <!-- //Row 0 Column 2-->
                    <td><input name="bandC" ></td> <!-- //Row 0 Column 3-->
                    <td><input name="bandK" ></td><!--  //Row 0 Column 4-->
                    <td><input name="comment" ></td>
                </tr>
            </tbody>
        </table>
          <input id="submit" type="submit" class="list" name="submit" value="Submit To Database" >  
           <!--maybe move all php part to other file-->
           </form>
        </body>
    The server is mapped so when we run it off of the server, we use the server ip address and my file name and skip the rest of the path, which works fine with the table.php file, so that mapping appears correct.  When I run it off of the server (from my
    desk) and hit submit it gives me a 404 file or directory not found.  When I run it locally on the server, it's saying it can't find the file name, but it says the requested url is `http://localhost:80/errorpages/403_error.html.`  Physical path: E:\vise\jqproject\web\errorpages\403_error.html. 
    The error message says the notification is from the MapRequestHandler of Module IIS Web Core. I'm not sure why the requested url/path isn't referring to visEupload.php.
    (Running on the server) When I change the action in the table.php get to include the IP address, it's behaving weirdly:
    Module IIS Web Core Notification MapRequestHandler Handler PHP53_via_FastCGI, Requested URL `
        http://localhost:80/13.141.xxx.xx/visEupload.php?bandy=xx&bandM=xx&bandc=hj&bandk=xx&comment=xx&submit=submit+to+database
    physical path shows as E:\visE\jqproject\web\13.141.xxx.xx\visEupload.php
    Login Method and user Anonymous.
    When I change the url to just be
        localhost/viseUpload.php
    it's getting HTTP Error 404 not found.  Any ideas why it's not finding the visEupload.php file?  It has the correct .php extension.  In file properties it's a type php file with name visEupload.php.  
    I took a look at
    [404 error][1] but I see my "allowUnlisted="true" in applicationHost.config. I'm not using sitefinity, though. 
    I'm not sure if something got over-written when we did a server windows update.  
    I know we were having a problem with get and post a couple months ago and we had to add them to the IIS Manager Handler Mappings somewhere, but don't remember where we added them to check.  Since I tried directly accessing the visEupload.php without any
    get (and commented out get code in the file) it should have worked if that was the issue.
    We are running server 2008 R2 and I'm not sure which version of IIS it is.
    In case it matters, this is the contents of the visEupload.php:
        <!DOCTYPE html>
        <html lang="en" >
        <head>
        <meta charset="utf-8" />
            <title>Big Table</title>
        </head>
        <body>
        <?php
            require_once( "../classes/class.OLAPdatabase.php");
            require_once( "../common/Session.php");
            $OLAPdb = new OLAPdatabase;
              handling of the get part is commented out
           ?>
        </body>
    All I can think of is that when I access visEupload.php it's running from the get/action in table.php.  This might be a different user running in the system.  I tried changing visEupload.php file properties to have full control for IUSR and Internet
    Guest Account.  It already has full control for System, and me.  Users have read & exeture and read permissions. Or maybe it's something that has to do with how the directory is mapped out.  I'm not sure what could be affecting this, and
    why the message said it can't find the path to 403_error.html.
      [1]: http://www.sitefinity.com/developer-network/forums/bugs-issues-/server-error-404---file-or-directory-not-found
    Michele Cleary

    Hello,
    for IIS question better ask in http://forums.iis.net/
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

  • How to use .mov files for video in Flash...

    Hello-
    I am trying to use .mov files for my Flash videos. I know it uses .mp4/flv/f4v, but I really need to use .movs. I know this works... but how?
    Suggestions?

    unfortunately running it through Adobe Encoder makes it a much, much larger file and the quality goes out the window. i really need to use .mov.
    any suggestions?

  • How to use expansion files for AIR app (flash cs6) on Google Play Store

    I am currently working on an app that will undoubtedly end up bigger than the maximum size of 50 MB for the APK, and I have no clue how to add files to an expansion pack, how to load expansion pack, what files need to be in expansion pack, or even what an expansion pack does/how it works. If anyone can point me in the right direction, that would be great, I want to make an expansion pack now before I get even more files.

    Haven't had a need to do this for file size purposes but since we can now download and use SWFs with ABC, I just specify my external SWFs when I compile and once my app is run it downloads the SWFs (with a pretty preloader) before the user can do anything. I have my own servers so I believe that's all that Amazon Bucket is actually used for. That user didn't have their own web servers to serve up the SWF content from.
    Aside that, check the answer here. Google will turn any extra files uploaded for your app into OBB for you. You just upload the SWF:
    Create expansion file for AS3 android Air App Flash cs6 - Stack Overflow
    It also outlines if you need to upload multiple files then .zip them up and use an AS3 .zip library to extract the files.

  • Can't select files for uploading through Flash Player

    I can only say that this seems to be related to Flash Player, but I'm not 100% sure exactly what the cause of the problem is.
    On most sites that uses a Flash uploader it won't allow me to select files for uploading. When I get to the Select A File dialogue box
    all files are greyed out. This happens in Chrome, Firefox and Safari. I'm using the latest version of Mac OSX. I can't seem to find
    any information about this anywhere on the web.

    Make sure Java and Javascript are both turned on in Safari Preferences/Security.

  • How to handle tables data in XML schema based adobe form

    Hi all,
    I am working on the CRM business partner creation by using Interactive adobe form with following steps:
    1) Uploaded the offline Interactive adobe form  to online interactive adobe form via WebDynpro ABAP;
    2) Capture XML data into corresponding BAPI structures;
    3) Save all the changes to database via BAPI.
    The adobe form contains customer information as well as several table views which are bind with the context created in WebDynpro: Node NEW_BP_NODE cardinality 1:1 with single attributes and table type attributes (1:n): COLOUR_COMP, MEN_COMP etc.
    While converting the xml format data to SAP context format, It is fine to use following routine to find the single attribute and map to the BAPI structure to do the database update.
    NODE = DOCUMENT->FIND_FROM_NAME( NAME = 'XYZu2019).
    XYZ = NODE->GET_VALUE( ).
    Question: how to convert the xml table data to SAP context format in WebDynpro ABAP?
    The XML table data looks like below.
    <?xml version="1.0" encoding="UTF-8" ?>
    <NEW_BP_NODE>
    <COLOUR_COMP>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX>000</ZZTFLDRZ2AQX>
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX>000</ZZTFLDTC2DQX>
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    <DATA>
    <ZZTFLD0W2AQW />
    <ZZTFLDRZ2AQX />
    <ZZTFLDVD2TQW />
    <ZZTFLDQK2HQX />
    <ZZTFLDEL2XQX />
    <ZZTFLDTC2DQX />
    <ZZTFLDOR2UQX />
    </DATA>
    </COLOUR_COMP>
    <MEN_COMP>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    <DATA>
    <ZZTFLD4V2V7V />
    <ZZTFLDYD2N7W>000</ZZTFLDYD2N7W>
    <ZZTFLDX32I7W />
    <ZZTFLD2D2W7W />
    <ZZTFLDGD2A7W />
    </DATA>
    </MEN_COMP>
    Thanks in advance for your help.
    Michelle

    Hi,
    Just follow these steps:
    1. Create interactive form UI element in your view.
    2. Now provide Datasource and PDFSOURCE to it in form properties.
    3. Now give a template name prefix with 'Z' or 'Y'.
    4. Double click on it. It will prompt for interface name.
    5. Provide interface name prefixed with 'Z' or 'Y'.
    6. Click on Context button in the Pop up window and provide the node you have selected as DATASOURCE.
    7. Click ok and it will open the form designer.
    8. In this way you can create a XML Schema based Form.
    9. Activate the interface and design the form providing layout type and other details.
    Hope it will help.
    Regards,
    Vaibhav

  • Call XML Schema based Adobe form from ABAP Program

    Hi,
      I have a scenario where an online Interactive form is designed and its working fine. Now i have a requirement to call the same Adobe form from a report for viewing purpose. Since it is XML Schema based Interface, is it possible to call the same form instead of creating a new one with the same template? Because i tried to call the same Adobe form by passing the values and converting those to XML(By Creating Transformation). Then i converted the XML to XSTRING and passed to the Generated Function Module for Input paramter "/1bcdwb/docxml". This resulted in an error "com.adobe.ProcessingException: com.adobe.Processin".
    Please help me out in solving this and check the attachment for code.
    Thanks,
    Raj

    Hi,
    outputparams-NODIALOG   = 'X'.
    outputparams-PREVIEW     = 'X'.
    outputparams-dest = 'LP01'.  "give ur printer name.
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams = outputparams
      EXCEPTIONS
        cancel          = 1
        usage_error     = 2
        system_error    = 3
        internal_error  = 4
        OTHERS          = 5.
    and Now call the generated function module
    pass the following in docparams
    docparams-langu = 'E'.
    docparams-country = 'US'.
    and finally close the job.
    It should work.
    Please let me know if u need further details.
    Regards,
    sasi

  • How do you create an xsd file for an xml schema in BI Publisher?

    Helllo.
    I hope this is a really daft question for somebody..
    How I create an xsd file to be used as an xml schema to attach to a Data Definition that Ive created? I've obv. got the xml and rtf files ready and attached. I've looked through the relevant docs (XML Publisher Report Designer's Guide.pdf & XML Publisher Administration and Developer's Guide.pdf) but can't find where..
    Once this has been done then I can run the template via ORACLE Financials for the reports I've converted.
    many thanks..
    Steven

    I don't think you need to have an XSD it's an optional field. If you really want to create one use this site: http://www.hitsw.com/xml_utilites/
    I believe I answered your question, don't forget to give me the points.
    Ike Wiggins
    http://bipublisher.blogspot.com

  • Creating XSD file for given XML

    Hi All,
    I have requirement to create XML Schema file (XSD) for any given XML.
    The minimum information that I want to include in the XSD is the dataType of the elemnt.
    I should be able to dpecify some DEFAULT data type so if I don't specify any data type the API will use that DEFAULT data type for the element.
    However I need not to verfy the XML file against this XSD but still the generated XSD should contain minimum information so that Parser does not fail.
    I have to do these all programatically.
    Can anyone tell me which JAVA API best suited to my requirement.

    Please don't cross post

  • Script file for import XML

    Hi,
    I want import the XML (ask user to select xml file) and run the xslt then open the new document after that to place the convert style and tagged text file in InDesign. I need all function in using one script (java script). I am using InDesign CS2. I have no more knowledge about java script. Can anyone give me one script to run all tool in one script file in inside the InDesign Document.
    My files are...
    1. XML file
    2. XSLT File
    3. Ind Template
    Thanks for help.
    Byomokesh

    Hi
    Maybe looking in the Adobe's documentation ?
    http://www.adobe.com/devnet/bridge/pdfs/javascript_tools_guide_cs3.pdf
    It deals deeply with xml & javascript.
    Ok it's CS3 but reference manual for CS2 contains xml method and properties so working with these two documents should be helpful.
    Sorry not for helping better but I never used xml and js.
    Loic

Maybe you are looking for