|
-
sendformdata
I've used the sendformdata example of koolmoves to make a form in Koolmoves. I've also downloaded a mailingscript. But for my script to work I also have to set these variables. How can I set these in Koolmoves.
<input type="hidden" name="recipient" value="[email protected]">
<input type="hidden" name="subject" value="E-mail via website">
<input type="hidden" name="redirect" value="../thanks.htm">
-
This question was previously asked. If I remember correctly, you create variables which are offscrean or invisible in some way.
-
-
On the same Timeline that your send form data button is create a Actionscript on a frame like this;
recipient = "[email protected]";
subject = "E-mail via website";
redirect = "../thanks.htm";
Really all there is to it.
-
I've tried it with the hidden textfields and it works. But I'll try this as well.
Thanks
-
The reason why you used to make hidden text fields was KoolMoves got Dynamic text functionality before it got actionscript functionality.
When you create a dynamic text field inside KoolMoves you are really creating a Dynamic textfield and a cariable both with the same name. Inside of Flash you can choose to have a different variable name for your text field. To simplify things KoolMoves automatically assigns the same name to both text field and var.
What the above script does is; creates 3 variables with the values preset. This is the same thing that is happening with the hidden text fields except no text fields are created but just the vars.
When you send data what happens is the Flash Player sends all the vars on that timeleine to the server side script/ preconfigured web page either as a querry string (With Get) or as a data packet (with Post). It works as I have used it very often.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|