INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

HTML Form (ASP.NET) and Flex on same page?

HTML Form (ASP.NET) and Flex on same page?

(OP)
QUESTION:
Can I submit an HTML form and Flex values from one submit button?

BACKGROUND:
I am developing an inventory system.  The "Add Product" page of the system has two main sections.

Section 1: HTML form with text fields for product information (cost, price, etc...)

Section 2: FLEX component that connects to a webcam and captures a picture of the product.  When a picture is taken it immidiately uploads the image to the server.  

*****
Can I create one submit button that will submit all of text field inputs (Section 1) AND the name of the picture taken in the FLEX component (Section 2) to a database for storage?
*****

NOT THE BEST SOLUTION:
Right now the only solution I can figure out is to have a submite button for submitting the text fields in Section 1 and another submit button to submitting the image information from Section 2.

POTENTIAL DISASTER:
I just don't want to have two submit buttons.  If I capture an image and click the wrong button I will loose the image and submit the text fields instead.  Or, if I fill in all of the text fields and then hit the image submit button I will loose all of the info in my text fields.

RE: HTML Form (ASP.NET) and Flex on same page?

(OP)
Thank you!  I will read up.   

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close