post data

Participant ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

I have a drop down menu and I want to post the data from the drop down into the next page....can I do that?

Thanks

TOPICS
Advanced techniques

Views

1.4K

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

All form data will be sent to any specified in the action="" page.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

formPage.cfm

<form action="actionPage.cfm" method="post">

<SELECT NAME="flavor">

<OPTION value = "" SELECTED>Select flavor</OPTION >

<OPTION VALUE="vanilla" >Vanilla</OPTION >

<OPTION VALUE="strawberry">Strawberry</OPTION >

<OPTION VALUE="rum_raisin">Rum and Raisin</OPTION >

<OPTION VALUE="peach_orange">Peach and Orange</OPTION >

</SELECT>

<input ty

pe="Submit" value="send" name="sbmt">

actionPage.cfm

<cfdump

var="#form#">

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

I'm sorry my question is not complete....I mean I want to post the data from the drop down into the next page without using submit button

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

What do want use, if not the submit button.

P.S.,

I'm not liking a lot about this new Forum yet.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

that I don't know...that's why I'm asking if it's possible and how. But I'm thinking is it possible to store the data on a session variable thru onclick? So that when a user pick a choice on the drop down then it will store in the session.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

You can use for it AJAX - jQuery or ExtJS js-libraries.

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

can you give me a walkthrough on that, good reference?

thanks

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 06, 2009 Apr 06, 2009

Copy link to clipboard

Copied

I think you need read something like this: http://www.365labs.net/cf_jquery/jquery_coldfusion_quickstart.htm

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines