Can we have two submit buttons in one form

please someone help me. my problem is i want two submit button in one form.one to insert data and other to search data .how can i do this.

hi!
it is possible but impragmatic to supply a single form with 2 submit buttons.
albeit, rather that use submit button you may just do the following (alternatively):
a. put a default action url to your form's action attribute;
b. replace all your submit button with just button (form element) and put a unique id on each;
c. then put a function name (javascript) on its onClick attribute;
d. in your javascript function, you may now reference your button through their id's and using an if-then statement, assign the proper url that will serve as the new action for your form;
e. on the last line of your function, execute the line formname.submit()doods72
http://www.ingenium.com.ph

Similar Messages

  • Can you have two apple ids on one mac?

    Can you have two apple ids on one mac? We each have iPhones and want to utilize iCloud.  Is this possible?

    No, in this case the 2 user accounts with its own Apple IDs would be completely seperated.
    If you want to share this things like music and app purchases you will have to to something else.
    1. Create two user accounts on your Mac (user A and user B).
    2. Create two iCloud accounts just for Mail, Contacts, Calendars, Photos, etc. (one for user A and one for user B):
    On your Mac (with Mac OS X Lion or Mountan Lion):
    Settings > Mail, Contacts, Calendars > iCloud > Create an Apple ID (button in left corner)
    On your iPhone, iPad or iPod touch (iOS 5 or later):
    Settings > Mail, Contacts, Calendars > Add Account > iCloud > Get a free @me.com address and create a new Apple ID
    3. It is not recommended because you shouldn't share your Apple ID account information with other people but you could set up your old Apple ID as an account just for store purchases (Apps, Music, ...) so that everyone of you can manage the purchases in their own library (Access is limited to 10 devices). Therefore you have to setup this "old" ID in Settings of your iOS devices (Settings > iTunes & App Store) and in iTunes on your Mac.

  • Can you have two Apple IDs on one IPAD? One for school and one for home?

    Can you have two Apple IDs on one IPAD? One for school and one for home?
    If so do you know how to do it?

    It depends on what you want to do.
    You could, for example, have one AppleID for iCloud backup [and therefore message syncing, notes syncing, etc] and a second one for iTunes [music, iBooks, etc].
    But if you are looking for a way to flip everything between different appleIDs, then no.

  • How can I have two itunes accounts on one computer?

    How can I have two itunes accounts on one computer?

    Not sure what you mean.
    An account is a user name and password.
    Sign into whichever account you want to use for purchasing.
    Authorize the computer for both account to listen to the content.

  • Can I have two address books on one computer

    Hi,
    I have my standard address book I use and love. I am an artist and forever having to make slide labels. I have used many programs and databases to do this task. To my surprise address book would accomplish this amazing well. I just don't want to combine my art label information with my address stuff? So can I have two address files on one mac?
    cc

    CC,
    you can add a new user account on your Mac (open system preferences / accounts) and start fresh there with an empty AddressBook.
    If you want to fill this with a part of your original AB, select those and export as vCards. Drop this export file in your shared folder so you can access that from the new user account. Open AB ther and import the vCards

  • HT201269 can i have two itunes accounts on one computer

    can i have two itunes accounts on one computer

    Hello Barry
    It is a yes and no answer. Yes you can but you cannot have them in the same iTunes library or one of the accounts cannot be associated for 90 days. You would need to have either a separate user or separate iTunes library to have both Apple ID’s on the same computer. 
    iTunes Store: Associating a device or computer to your Apple ID
    http://support.apple.com/kb/ht4627
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/ht1495
    Regards,
    -Norm G.

  • TS3988 Can I have two iCloud accounts on one device? / Paul

    Can I have two iCloud accounts on one IPad?

    Yes, you can add a second ("secondary") iCloud to a device as mendi1 stated.  There are some limitations with secondary iCloud accounts.  Only the primary account can be used for Photo Stream, syncing Bookmarks and Documents, iCloud Backup and Find My iDevice.  Also push email only works in the primary account; only fetch mail is supported in a secondary account.  See http://support.apple.com/kb/ts4020.

  • HT204053 iCloud in a business. Do all the computers require the same apple ID to share all the files?? Can i have two apple accounts on one device?

    iCloud in a business.
    Do all the computers require the same apple ID to share all the files?? Can i have two apple accounts on one device

    Neither of those Apps allow you to (easily) add iWork documents created or edited on the device to your online storage, you need to be using a webDAV server to be able to do that. In fact pretty much all you can add from the iOS device is photos and video without resorting to convoluted workarounds, intermediate apps or emailing finished documents to yourself. You can on the other hand view most of the content of dropbox/sugarsync through those apps, which in a lot of circumstances is useful, but without it working in both directions these apps are far from an ideal solution.
    E.g from the sugarsync website
    Yes, this may not be of too much interest to the OP, I was only trying to clarify the situation with iCloud.com/iWork for you.
    However that being said, there may be areas of interest for Computer to Computer syncing, given the recent changes made to iCloud.com/iWork. I wouldn't suggest iCloud sharing for archived documents, but for perhaps up to a couple of dozen documents in progress, iCloud sharing is now quite viable. If there is any chance at all of these documents being accessed on an iOS device then iCloud would become a preferred option to dropbox or sugarsync.

  • Can you have two iCloud accounts for one Apple id?

    Can you have two iCloud accounts for one Apple id?

    the appleID is you in the ios world if you have an iphone and an ipad and an Ipod touch and an appletv and a mac then you should use 1 appleID on all of them it does not mean the same data is on all of them unless you want it to be

  • HT2486 can I have two contact lists on one mac book pro?  I need one to sync with my iphone, one to sync with my husband's iphone.

    can I have two contact lists on one mac book pro?  I need one to sync with my iphone, one to sync with my husband's iphone.

    I agree with Chris CA that this is the way I would *expect* iTunes to behave.
    When I look at iTunes from my account (my music is in ~/Music/iTunes/ and not available to my spouse's account), I can see in my music library all my rips and my purchases, just as I would expect. I can use Store>View My Account (<myAppleID>) and all is as expected. Home sharing is NOT on.
    Doing the same from the other account is not much different, actually. Nothing in the library yet, of course. Store>View My Account (<herAppleID>) also works. I CAN authorize my computer to play her music. I CAN view her iTunes purchases. When I attempt to download the purchases to HER library, though, I get the following dialog box:
    Now I interpret this to mean that this computer (mine) will not download from a different AppleID (also mine) for 90 days. Is that [interpretation] correct?

  • Can you have two seperate acounts on one MAC and if so how do you do it?

    Can you have two seperate acounts on one MAC and if so how do you do it?

    Look at Method One in this document:  How to use multiple iPods, iPads, or iPhones with one computer, http://support.apple.com/kb/HT1495

  • HT204053 Can I have two Iphones connected to one icloud account and if so, how do I change the icloud user name on the phone

    Can I have two Iphones connected to one icloud account and if so, how do I change the icloud user name on the phone

    Welcome to the Apple Community.
    Yes you can use one iCloud account between multiple devices.
    What do you mean 'change the iCloud user name'.

  • Can I have multiple submit buttons on the same form?

    Hi!
    I'm creating a web page that allows the user to build a mail filter, and I would like to have to submit buttons, one to add more fields to the filter and another one to save the filter... I could insert the two buttons on the, but I don't know how to distinguish them while doing the process of the form on a jsp page. Any ideas?

    You can create additional submit buttons using Javascript buttons:
    <input type='button' value='Add Fields'
    onClick='this.form.action="/servlet/AddFields";this.form.submit()' />
    <input type='button' value='Save Filter'
    onClick='this.form.action="/servlet/SaveFilter";this.form.submit()' />
    The value of "onClick" is a block of Javascript, so you can all a function to validate the form before submitting, etc.
    Mike W.

  • HT204053 can I have two cloud accounts on one mac. Different i tunes accounts and users

    Can I have two ic;ouds on the same mac. This is a ridiculous set up. Why do I need to create a user name and insert all of this information just to get a simple answer. its no wonder people end up googling stuff rather than using this website.

    If you prefer to Google, then Google. On here you stand a good chance of getting a direct answer from experienced users. And the login is necessary because without it we'd get more spam and stupid posts than we do now. Pretty well all online forums require an login for the same reason.
    To answer your actual question. Firstly, you can use different Apple ID's for iTunes (and iTunes in the Cloud and iTunes Match) and iCloud itself, with email, Calendar and Contacts syncing, PhotoStream, and so on. There is no conflict about doing this.
    If you want to use two separate actual iCloud accounts you can do one of two things:
    1. You can set up a second user account on your Mac: then each user account can be separately signed into and iCloud account with all its facilities.
    2. Having decided which iCloud account is to be your main one, and having signed into System Preferences>iCloud with it (and enabled Mail, Calendars and so on) you can sign in with the other account in System Preferences>Mail, Contacts & Calendars. The email, calendars and contacts will appear alongside those belonging to the first account. The only differences from the primary account are a) Email is not 'pushed' but checked at intervals, and b) you can only use PhotoStream with the primary account.

  • Can I have two iTunes account on one iPad?

    can I have two different iTunes account on one iPad

    No, not at the same time. You can use two different Apple ID/iTunes accounts on one iPad, but it is not advisable since you can lock yourself out of one of the ID's for 90 days if you download previously purchased content using the second ID.
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store - Apple Support
    Associating a device with another Apple ID.
    iTunes Store: Associating a device or computer to your Apple ID - Apple Support

Maybe you are looking for