Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XML Contact Form

    need help..
    my contact form cannot working..when i click sent, it's not work
    here the xml code :
    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <data>
    	<setting>
    		<!-- image node, you can remove it or not. -->
    		<image width="300" height="395">images/contact/image.jpg</image>
    		<infoTitle><![CDATA[Consectetur]]></infoTitle>
    		<formTitle><![CDATA[Contact]]></formTitle>
    		<bgHeight>350</bgHeight>
    		<bgColor>0x1b110b</bgColor>
    		<bgAlpha>0.2</bgAlpha>
    		<textContentHeight>320</textContentHeight>
    		<textGapX>10</textGapX>
    		<gapBetweenThumbnailAndText>15</gapBetweenThumbnailAndText>
    	</setting>
    	<!-- paragraph node. you can add as many as you want! -->
    	<paragraph width="300">
    		<![CDATA[Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas ut mauris at dolor rhoncus rhoncus. Quisque consequat sollicitudin lacus.<br/><br/>SALES CENTER<br/>M: +86 137 153 030 41<br/>M: +86 137 153 030 41<br/><a href="mailto:test@mail.com" target="_blank">test@mail.com</a></font> ]]>
    	</paragraph>
    	<!-- php contact form -->
    	<form active="false">
    		<!-- text   -->
    		<name text="Name"></name>
    		<email text="Email"></email>
    		<message text="Message"></message>
    		<phone text="Phone"></phone>
    		<!-- error message -->
    		<nameIsEmpty><![CDATA[** Username Required **]]></nameIsEmpty>
    		<invalidEmail><![CDATA[** Missing field/Invalid email **]]></invalidEmail>
    		<messageIsEmpty><![CDATA[** Message Required **]]></messageIsEmpty>
    		<!-- color -->
    		<background normal="0x1b110b" focus="0xa56533" alpha="0.8"></background>
    		<text normal="0xffffff" focus="0xffffff"></text>
    		<script>submit.php</script>
    	</form>
    </data>
    do i need php file ? my flash website don't have it in the source file..
    please help..
    thanks before

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,460
    Thanks
    1
    Thanked 23 Times in 21 Posts
    What code processes this XML? As-is, XML is a markup language where no element has an inherent meaning: you need something to read the XML and decide what to do.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it use flash, action script
    i don't understand about xml and flash template
    please help if possible

    thanks
    before


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •