• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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.6K

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.

Votes

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
Community Expert ,
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#">

Votes

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

Votes

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

Votes

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.

Votes

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.

Votes

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.

Votes

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

Votes

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

LATEST

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

Votes

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
Resources
Documentation