Jump to content

I Need help with advanced forms. (Saving inputs to a value)


9009032
 Share

Recommended Posts

My goal is to make a page that asks the user a input. Once the user had typed in an input, the input will be pasted into a specific area in another script. If you are having trouble imagining this then heres an example: When you use a myspace page editor. You pick your color and then it will paste that code.I am not sure what browser scripting language to use for this? please help with everything.P.S. I am making a page that will ask the user all the questions about how they want there web page. Like the title articles..... then it will paste the things they type in the certain areas.Please help :)

Link to comment
Share on other sites

That is a content management system. A browser scripting language will not work for this, you need to use a server scripting language. You will probably want to use PHP for the scripting, and store everyone's preferences in a database such as MySQL. When the user (or someone else) loads a certain user's page, then it will get their choices from the database and fill in what needs to be filled in.

Link to comment
Share on other sites

My goal is to make a page that asks the user a input. Once the user had typed in an input, the input will be pasted into a specific area in another script. If you are having trouble imagining this then heres an example: When you use a myspace page editor. You pick your color and then it will paste that code.I am not sure what browser scripting language to use for this? please help with everything.P.S. I am making a page that will ask the user all the questions about how they want there web page. Like the title articles..... then it will paste the things they type in the certain areas.Please help :(
let me guess, is it that you wanna make something like a forum, like this one, press a button and the text (for fonts or formatting) is added over the cursor side. That's easy (but clumsy in practical) as there is a function called sorts of createRange in JavaScript.or.. you want the user to type in text box A and the text appears in text box B ? That's trivial, just B.value = A.value when A is onKeyPress.. sorts of~or.. as "justsomeguy" said, u wanna do some layout or content tuning according to users' preferences? That won't be as easy as the two mentioned, but at least handier than the first one. Different from the suggestion he given, i would rather use JavaScript to set the cookies. as these sorts of things are just preference only, it will be acceptable for users to have a default setting in a public computer. and also, using client side scripting is more user-friendly as they don't need to keep striking submit submit and submit while tuning :)if u can provide the semi-finished page or codes, things will probably be solved very soon, i promise :)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...