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

  • Home
  • SEARCH
  • 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 3458418
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:58:50+00:00 2026-05-18T09:58:50+00:00

EDIT: I am using Code Igniter: www.codeigniter.com So I’m new to web developement and

  • 0

EDIT: I am using Code Igniter: http://www.codeigniter.com

So I’m new to web developement and programming in general and I’ve been playing around with PHP and started developing a little website and i want to make it easier for users to submit.

I have 9 radio buttons (oh and I’m using code igniter)

    <?php
    echo form_radio('name1', '3')." 3 ";
    echo form_radio('name1', '2')." 2 ";
    echo form_radio('name1', '1')." 1 ";
    echo form_radio('name2', '3')." 3 ";
    echo form_radio('name2', '2')." 2 ";
    echo form_radio('name2', '1')." 1 ";
    echo form_radio('name3', '3')." 3 ";
    echo form_radio('name3', '2')." 2 ";
    echo form_radio('name3', '1')." 1 ";
    $submit = Array ("name" => 'submit', "value" => 'Submit', "class" => "g-button large");
    echo form_submit($submit);
    echo form_close();
    ?>

So i want something to check for duplicates and display an error (preferable a div) without reloading the page and i would also like the form to submit without the submit button (for example hotornot.com but with 3 sets of radio buttons).

I understand this needs jQuery and possibly AJAX (?) and i’m completely clueless with them both. And also i saw this: http://jquery.malsup.com/form/ and i tried tinkering with it but i had nfi what i was doing.

  • 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-18T09:58:50+00:00Added an answer on May 18, 2026 at 9:58 am

    You don’t need to use every helper in CI; I wouldn’t use form helper, at least for the radio buttons as you’ll need to include onClick event handler into radio button html code:

    <input type="radio" name="name1" value="3" onclick="set_info('send_something')" />
    <div id="info">&nbsp;</info>
    

    this part should be put between tags in your html code, above radio buttons of course:

    <script type="text/javascript">
    set_info=function(send_something){
    $('#info').html(send_something);
    }
    </script>
    

    the last one includes jQuery code of course and you sould include it too:

    <script type="text/javascipt" src="jquery.js"></script>
    

    I hope that this code snippets give you more than basic idea where your coding should go for this case.

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

Sidebar

Related Questions

I am using the following code --- EDIT @annakata : Adding the complete code
Are there any utilities that reformat Delphi code ? EDIT I am using Delphi
Edit: I am using SqlDataAdapters to fill the data sets. Sorry--I should have been
I have recently been working with Python using Komodo Edit and other simpler editors
I am using php with code igniter. I am designing a website with php.
I'm thinking about using CodeIgniter for a new project. I was reading the user-guide
I need to edit (using javascript) an SVG document embedded in an html page.
I think my eclipse's ctrl+clicking links might benefit greatly... Edit: I'm using eclipse PDT.
I have several objects in the database. Url to edit an object using the
I'm using markdown to edit this question right now. In some wikis I used

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.