Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6680977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:32:16+00:00 2026-05-26T04:32:16+00:00

objective: i want a user to enter information on a form, then i will

  • 0

objective:
i want a user to enter information on a form, then i will use that info to generate different results.

heres my code:
http://jsfiddle.net/5HUVm/

<form id="form1" name="form1" method="post">
    <table>
        <tr>
            <td>I am interested in:</td>
            <td><input type="radio" name="choice" value="consume" id="consume"/> Cosuming and/or distributing OTC Markets data
            </td>
        </tr>
        <tr>
            <td></td>
            <td><input type="radio" name="choice" value="extranet" id="extranet"/> Providing connectivity to OTC Markets(Extranet)</td>
        </tr>
        <tr>
            <td>Data products:</td>
            <td><input type="checkbox" name="realtime" value="realtime" id="realTime">Real-time data</td>
            <td><input type="checkbox" name="otcdata" value="otcdata" id="compData">OTC Company Data</td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" name="eodprice" value="eodprice" id="eod">End of Day Pricing Data</td>
            <td><input type="checkbox" name="otccompliance" value="otccompliance" id="otcComp">OTC Compliance Data</td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" name="otcsecurity" value="otcsecurity" id="otcSec">OTC Security Data</td>            
            <td><input type="checkbox" name="otcqhistory" value="otchistory" id="otcHist">OTC Quote History</td>
        </tr>
        <tr>

            <td>Data use:</td>
            <td>
                <select name="products" id="prod">
                    <option value="select">Select</option>
                    <option value="personal">Personal Use Only</option>
                    <option value="distEx">Distribute Externally Only</option>
                    <option value="distIn">Distribute Internally Only</option>
                    <option value="distBoth">Distribute Externally &amp; Internally Only</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>Firm type:</td>
            <td>
                <select name="firm" id="firm">
                    <option value="select">Select</option>
                    <option value="broker">Broker-dealer</option>
                    <option value="oms">Order Management System</option>
                    <option value="finanInfo">Financial Information Service/Portal</option>
                    <option value="service">Service Bureau</option>
                    <option value="other">Other</option>
                </select>
            </td>
        </tr>
        <tr>
            <td>
                <input type="reset" id="re">
                <input type="button" id="sub" value="Submit" onclick="valid(this)">
            </td>
        </tr>
    </table>
</form>

so as you can see there are checkboxes, radio buttons, drop downs.
what is the best way to validate what has been checked/selected?

i was thinking:
lots of if statements then use a variable to store a special “numbers” for the different choices made then taht number will be used to generate the result page

for example:
user chooses consuming, real time data, and end of day data that would be lets say choice 1
user clicks submit and the results page will show special links/articles.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:32:17+00:00Added an answer on May 26, 2026 at 4:32 am

    There are lots of validation scripts out there that will do exactly what your trying to do – don’t reinvent the wheel …. go grab one and use it :

    Prototype : http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype

    JQuery : http://bassistance.de/jquery-plugins/jquery-plugin-validation/

    YUI : http://www.yuiblog.com/blog/2009/12/03/yui-3-gallery-form-module/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to use/reuse C++ object with Objective-C. I have a hello.h that has
When I have NSString with /Users/user/Projects/thefile.ext I want to extract thefile with Objective-C methods.
In XCode and objective c, if I want to use a UIGlassButton in interface
Given an IBOutlet pointer in Objective-C/iPad, how do you hide that element? Want to
i want to use the gps in google map to automatically locate the user
My Objective is to use h:messages to convey user - error and confirmation messages.
I want a input from user their name and output that input name in
Let say we've the following Objective : User will post certain exact URL $refere
I have a C++ library that I want to expose as an Objective-C framework,
I want to build a bookmarklet that will allow me to send the URL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.