Forum Moderators: open
I name the input field's variable 'q', and put the
loadVariables="http://www.google.com/search,0,POST" code on the submit button. What else do i need? Nothings happening :( Am i missing something? Can somebody outline a simple way to make an easy form in flash?
What exactly did you expect to happen?
Simple Form in Flash
1. Make your input text field. Put variable to "query" or whatever it should be.
2. Make submit button. Make it a symbol, open the actions panel. Double click GetURL.
3. In the URL field, add [google.com...] or [yoursite.com...]
4. You can make it open in a blank window if you like. You can also use the components window to drag in pre-made submit buttons, radio, text fields, etc...
On (Release)
Load Variables ("http://www.server.com/cgi-bin/myform.cgi", 1, vars=POST)
End On
Maybe, but that's not what you wrote in your first post. Nor did you say that you want to open the target page in the browser window, instead of processing it within Flash.
I have no idea about your level of knowledge, so I can only refer to what you write.
But it looks like you found the solution on your own now. Good for you! :)
Say i want the user to type in the search text, select an option from a few radio buttons, and press submit. Up pops the google search results in a new window.
[google.com...] is a sample string which i want to produce.
i named the input field's variable "q". Somewhere on the radio button's properties, i should be able to put in "hl=en". Anybody know where i enter the radio button's value? Much appreciated....