Limited use of checkboxen

Hello,
Its me again with the webshop ;-).
I want to make something to compare my products in the store.
So i have put after every product a checkbox.
When i click on compare, then the checked products will be placed in a other page.
My question is : only maximum 3 products can be compared.
How or what do i need for controlling that?
I was thinking of a java script.
Can you help me??
Thanx allot, Naku
Sorry for my crappy english ;-)
Greetz.

Something like:
<html>
<head></head>
<script Language="JavaScript">
<!--
function validate(theForm) {
     var checkCounter = 0;
     for (i = 0; i < theForm.contact.length; i++) {
          if (theForm.contact.checked)
               checkCounter = checkCounter + 1;
          if (checkCounter > 3) {
               alert("Please select a maximum of 3 products.");
               return false;
//-->
</script>
<body>
     <form action="xxxx" method="post" onsubmit="return validate(this)" name="myForm">
     <input type="checkbox" name="contact" value="email">E-mail
     <input type="checkbox" name="contact" value="phone">Phone
     <input type="checkbox" name="contact" value="snailmail">Mail
     <input type="checkbox" name="contact" value="none" checked>Don't contact me
     <input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>

Similar Messages

  • FSRM report limits using PowerShell

    I am following this article:
    http://blogs.technet.com/b/filecab/archive/2014/05/20/set-fsrm-storage-report-limits-using-powershell.aspx
    I did have this working just fine, but after installing Windows Updates today on a 2012 R2 box this functionality breaks the GUI. Now, any time you try to edit a report you are hit with Event ID 0, 'file server resource manager value is not valid' and a
    GUI error of 'Unexpected Error. Value of 1000 is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
    The report still runs, but you cannot view in the GUI until you again use PowerShell to decrease the limits back to default.
    Any ideas on how to fix? (Other than removing the updates) Seems a recent Windows Update has broken this.

    The Windows Update version is the latest available. So if you have a 2012 R2 server and install every available update, that's the level I'm at. It was a recent update that seems to have broken this, I just don't know which one.
    The parameter was already set to 1,000 and was working fine. The default is 100, and any value greater than 100 now produces the GUI error.
    Newly created reports also produce the same error. I stress that the reports do still run with the value of 1,000 set by PowerShell, it's just the GUI that does not recognise the values set by PowerShell.
    Looks like a bug in a recent Windows Update.

  • Whats means the 90 days of limited use of another apple ID?

    Whats means the 90 days of limited use of another apple ID?

    You might find this Apple KB article helpful <http://support.apple.com/kb/HT4627>. If the page doesn't load the first time simply reload it.

  • Changing requisition limits using BAPI

    Hi Experts,
    I want to change the valuation price in a purchase req using BAPI_PR_CHANGE .
    the line has account assignment category 'K' (no material) .
    i tried inserting the price using field : preq_price in PRITEM table , but it won't let me . (i used it for a regular req. - with material and it worked fine).
    i know that in order to change the price in the ME52N screen ,we need to use the field : overall limits , in limits tab.
    how do i change the price with the BAPI ? (or is there another bapi i can use ? )
    thanks, Nirit .

    Did you use BAPI_TRANSACTION_COMMIT after BAPI_PO_CHANGE.
    Look also at this <a href="http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm">Sample Abap code on BAPI_PO_CHANGE</a>
      CALL FUNCTION 'BAPI_PO_CHANGE'
        EXPORTING
          PURCHASEORDER = T_POHEADER-PO
          POHEADER      = T_BAPI_POHEADER
          POHEADERX     = T_BAPI_POHEADERX
        TABLES
          RETURN        = T_BAPIRETURN
          POITEM        = T_BAPI_POITEM
          POITEMX       = T_BAPI_POITEMX.
      READ TABLE t_bapireturn WITH KEY type = c_err TRANSPORTING NO FIELDS.
      IF sy-subrc NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = c_x.
      ENDIF.
    Regards

  • Limited use of indexes in XE db?

    I tried to use reverse key index in my XE database, but I cannot...
    is this type of indexes disabled in XE db?
    where can I found a list of all limitations in Express edition database?

    how did you exactly use it, no problems here,
    SQL> desc test;
    Name                                      Null?    Type
    FULLNAME                                           VARCHAR2(20)
    ADDRESS                                            VARCHAR2(20)
    SQL> create index test_ndx on test (fullname) reverse;
    Index created.
    SQL> create index test_ndx2 on test (fullname, address) reverse;
    Index created.

  • Library Filter - limited use?

    When I got a first look at version 2.0 I though great, it will be better as a DAM program than before and may be able to stop using my other program.
    However, when I start to try and use it I find a number if limitations: -
    1. Not all fields are searchable.
    2. In the metadata bit the fields you can choose are limited.
    3. As noted in a previous post the text search can bring up unexpected results.
    For example, I have been making use of the category field, and find it very useful, but find in lightroom that it is not a searchable field, and is not listed as a choice for the metadate filter.
    A number of questions come to mind: -
    1. Is it me who is not using the program correctly;
    2. Are there work rounds;
    3. Are Adobe likely to address some of these and improve the DAM side of the program; and
    4. Is it possible that some of these can be resolved with a metadata plug-in.
    All thoughts much appreciated.

    Are you sure you don't have any space or any invisible character there in the search box?
    If it is empty, my guess is: corrupt catalog. Try creating a new catalog, import some test photos and check if search works fine.

  • XI limitation using Proxies

    Hi,
    Can anyone please advise on this topic:
    When using the proxy framework to connect XI with SAP ... I have been told that there is a limitaton -> XI can only talk to ONE SAP system using proxies (the relationship is one-to-one). Is this true ? If so, are there any workarounds ?
    Thanks for your assistance.

    Hi,
    XI will act as a hub and will be able to connect to many SAP systems. So the idea of one-to-one is not correct.
    A simple scenario like SAP R/3> XI> SAP R/3 is already in implementation in many parts of te world.
    <i>you can exchange messages using SAP XI as soon as a runtime component can communicate with the Integration Server</i> and Proxy runtime is one of them.
    http://help.sap.com/saphelp_nw04/helpdata/en/70/f3cbad30ee479cb15672219f3405f0/content.htm
    <b>Limitations/Technical requirements:</b>
    The SAP WebAs should be 6.20 and above to be able to  communicate with XI using proxies. This is the same case if XI wants to communicate with SAP systems.
    Cheers,
    Siva Maranani.

  • Limitation using infotype 0302

    hi experts,
    I have one question. I want to change current report instead of using infotype 0000 to use infotype 0302. This is because infotype 0000 not store 2 action in same days. my question is, if I change to infotype 0302, what impact wil happened. Is it same infotype except it allow  multiple action in same days or there is limitation in infotype 0302
    Thanks in advance

    Hi MJ,
    I believe you have a custom report which right now fetches from PA 0000 and now you want to fetch from PA 0302.
    The basic differences is as told by other experts in their comments but I would like to highlight some specific points.
    1. IT 0302 will only have action type and action reason for a key date i.e. start date of action
    2. It doesn't have employment status fields.
    So, in case your reports needs data related to various statuses then you will have to read both IT 0000 and IT 0302 in the date range.
    cheers
    Ajay

  • Is there Bandwidth limitation using IPSec ?

    We have an office in Asia which is connected to our New York location using l2l IPSec through the internet. They claim that they have guaranteed bandwidth of 2MB with their local ISP. They are using MRTG apllication to monitor the bandwith and it is reporting that only 512K is being utilized on the link. They think it is something with the firewall or it is because of the IPSec. We have the IPSec interface set to auto negotiation and the interface stats does not seem to be anything out of the ordinary. What could it be ?

    It could be the application. The latency between Asia and New York might be to high to let the TCP frame size
    ramp up.Try putting some sort of WAN killer behind it and see what your true non-application restricted throughput is.
    To your original question. No, there is no bandwidth limitation in IPSEC. Only hardware limitations of the crypto engin, but that only applies when you get into much higher BW numbers. (Unless you have a 2611 which  does under 1M of 3DES throughput.)
    Another thing your may want to consider is the MTU of the link. Try setting the MTU down to 1360 on the incoming interfaces or  ip tcp adjust-mss 1360. This will prevent the applications from over ramping the TCP windows.

  • 4gb file size limitation using java.io.* package in java stored procedure

    Does anyone know about file size limitations when using java.io.* package inside java stored procedures. I have some java stored procedures that read and write to files. They error out when run as a java stored procedure within oracle on files over 4gb. I have no problems with these procedures when I test them outside of oracle.

    I am using 10g Release 10.2.0.1.0, the java version returned by the Oracle JVM is 1.4.2_04
    When I tested it outside of oracle I ran it using the java run time in ORACLE_HOME\jdk\bin and it works perfectly on files larger than 4gb.
    Thank you for the UTL_FILE suggestion. I have considered using that but there is one method in Java that I can't seem to find a corresponding procedure for in PL/SQL.
    RandomAccessFile.setLength()
    This allows me to truncate a file. I have a need to strip bytes off the end of a file without creating a copy because I am working with large files and disk space may be limited. It is also much slower to read from the original file and writing the same bytes to a new file (minus the trailing bytes).
    If anybody has any insight about the 4gb java.io limitation in Oracle JVM or has a workaround in PL/SQL for the RandomAccessFile.setLength() method in Java, I would really appreciate the help.
    Thanks,
    Thach

  • Advantages/limitation using OBIEE/MAUI version..

    Hi
    What are the advantages going for OBIEE/MAUI version? at the same time are there any tool level limitations?
    I am new to Siebel Analytics area...
    Any document which lists these will be of great help..
    Thanks in Advance.

    Hi Krishna,
    Before I proceed, just to clarify your point 3 "Adding the new columns in the table ( It can be added at any place )" - yes columns can be added at any place within the CDS as you are just editing the definition file, but unless you effectively drop the entity (table) by removing entity definition, activate and then restore to rebuild table, any newly added columns will be added to end of table irrespective of position in CDS entity.
    SPS6 Core Data Services - created catalog table column order different from hdbdd entity
    I would also only consider productive CDS with SPS07  - CDS was introduced with SPS06 and no doubt some issues were resolved with introduction of SPS07.
    The CDS gives a wonderfully rich semantic view of your definitions - right click the .HDBDD artifact and select graphical view, especially if associations are implemented (SPS07).
    Coming from an ABAP background I adore the concept of a data dictionary-like central repository, where you can specify types and structures later referred to in entities (tables) for consistency and ease of maintenance.
    Have a go at setting up a few types and entities, change keys, add, remove and change columns (name and type), use those definitions in procedures and attribute views (later consumed by analytic and on to calculation views) for checking of dependencies.  I have had issues with dependencies where I have not been able to activate .HDBDD, see SAP Hana Studio release 70 issues.  Transport changes from dev to qa and check.  Do you need to define entities with spatial-type columns?  You cannot (ST_GEOMETRY not recognized as valid type as of 70).
    You are putting all of your "eggs" in one basket.  I wouldn't choose to do that with a project of any significant sizing unless a thorough P.O.C. was carried out.
    Hope that helps.

  • Limitation using Keywords for team sports?

    Hi,
    I'm starting to use Aperture to handle my images of hockey. The current squad is 22 players, yet I seem unable to get 22 keywords in a group to allow me to smoothly tag these images when editing.
    I'm sure I must be doing something wrong as being a pro app, and me wanting to use it in a pro way, it seems I can't keyword all the players on the fly in the various images.
    Help!

    that's not normally a problem - I view images fullscreen to rate them, but keyword them in the browser view.
    I go thru and select the images that share common keywords, then go to the keyword HUD and select the keyword(s) that apply and drag them across to the browser - instant happiness! Have done this for a single shoot of 465 images as the biggest example and it worked a treat. Took less than 5 minutes to allocate between 4 and 7 keywords per image (I guess where there are hundreds of images having totally unique keywords this would bog down somewhat, but this hasn't happened yet).
    Regards,
    Calx
    Message was edited by: CalxOddity - grammatical correctionness

  • The system limits use of the processor.

    When a process is actively loading the CPU some time (in my experience - until 14:00 CPU time for a given process, according to the monitoring system). After the occurrence of the above events process uses only one core (up to this point - used 8 "cores", 4 real + 4 virtual). Problem persists in Safe Mode, then reinstalling the OS (but keeping all the data). I can not solve this problem. The question is very critical, because in fact I can not use the computer for any intensive tasks.
    Hardware Information
    MacBook Pro Retina (mid-2012)
    OS - Yosemite 10.10
    Processor - 2.3GHz i7
    Previously, such a notice is not started about 1-2 weeks ago (could be wrong).

    CPU load:

  • 5 users limitation using PPPoE on cisco??

    Hello,
    I am trying to use a cisco as a pppoe server. The problem is that its not able to connect mor e than 5 users at a time. I thought the cisco(3620) had some problems and used another (2610) with the same result. What could be the problem?
    TIA
    Shekhar Basnet
    Here are some info.
    System image file is "flash:c2600-ik9o3s-mz.122-31"
    cisco 2610 (MPC860) processor (revision 0x203) with 61440K/4096K bytes of memory
    32K bytes of non-volatile configuration memory.
    16384K bytes of processor board System flash (Read/Write)
    PPPoE# sho run
    Building configuration...
    ip audit notify log
    ip audit po max-events 100
    vpdn enable
    vpdn-group canopy-consumer
    accept-dialin
    protocol pppoe
    virtual-template 10
    pppoe limit per-vlan 300
    interface FastEthernet1/0.630
    description #### PPPoE clients #####
    encapsulation dot1Q 630
    pppoe enable
    interface Virtual-Template10
    ip address 192.168.125.125 255.255.255.252
    peer default ip address pool consumer-pool
    ppp authentication pap
    ip local pool consumer-pool x.x.254.112 x.x.254.119
    Here's a sample log when trying to connect using a 6th customer
    Feb 5 16:49:53: PPPoE 0: I PADI L:ffff.ffff.ffff R:000a.e44f.ba27 630 Fa1/0.630
    Feb 5 16:49:53: PPPoE 0: O PADO L:f730.8100.0276 R:ba27.0003.e3e8 630 Fa1/0.630
    Feb 5 16:49:53: PPPoE 0: I PADR L:0003.e3e8.f730 R:000a.e44f.ba27 630 Fa1/0.630
    Feb 5 16:49:53: PPPoE 396: Creating
    Feb 5 16:49:53: PPPoE 396: Created L:0003.e3e8.f730 R:000a.e44f.ba27 630 Fa1/0.630
    Feb 5 16:49:53: PPPoE 396: O PADS L:0003.e3e8.f730 R:000a.e44f.ba27 630 Fa1/0.630
    Feb 5 16:49:53: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to up
    Feb 5 16:49:54: PPPoE 396: I PADT L:0003.e3e8.f730 R:000a.e44f.ba27 630 Fa1/0.630
    Feb 5 16:49:54: PPPoE 396: Shutting down
    Feb 5 16:49:54: PPPoE 396: O PADT L:0003.e3e8.f730 R:000a.e44f.ba27 630 Fa1/0.630
    Feb 5 16:49:54: PPPoE 396: Destroying L:0003.e3e8.f730 R:000a.e44f.ba27 630 Fa1/0.630
    Feb 5 16:49:54: %LINK-3-UPDOWN: Interface Virtual-Access2, changed state to down
    PPPoE#sho idb
    Maximum number of IDBs 300
    24 SW IDBs allocated (2624 bytes each)
    19 HW IDBs allocated (4976 bytes each)
    HWIDB#1 1 Ethernet0/0 (HW IFINDEX, Ether)
    HWIDB#2 3 BRI0/0 (HW IFINDEX, HW ISDN, Serial)
    HWIDB#3 4 Serial0/0 (HW IFINDEX, Serial)
    HWIDB#4 5 BRI0/0:1 (HW ISDN, Serial)
    HWIDB#5 6 BRI0/0:2 (HW ISDN, Serial)
    HWIDB#6 7 Serial0/1 (HW IFINDEX, Serial)
    HWIDB#7 8 FastEthernet1/0 (DOT1Q, HW IFINDEX, Ether)
    HWIDB#8 9 Virtual-Access1 (Serial, HW VACCESS)
    HWIDB#9 10 Virtual-Access2 (Serial, HW VACCESS)
    HWIDB#10 11 Virtual-Access3 (Serial, HW VACCESS)
    HWIDB#11 12 Virtual-Access4 (Serial, HW VACCESS)
    HWIDB#12 13 Virtual-Access5 (Serial, HW VACCESS)
    HWIDB#13 14 Virtual-Access6 (Serial, HW VACCESS)
    HWIDB#14 15 Virtual-Template10 (HW IFINDEX, Serial, HW VTEMPLATE)
    HWIDB#15 16 Loopback0 (HW IFINDEX)

    Yahoooo!! Success at last.. Thanks a lot Mak. But I would love to know the reason behind it. So even changing the subnet on VT to /24 would have had no effect then?
    PPPoE#sho user
    Line User Host(s) Idle Location
    * 66 vty 0 shekhar idle 00:00:00 x.x.233.248
    Interface User Mode Idle Peer Address
    Vi1 silt Virtual PPP (PPPoE ) 00:00:05 x.x.225.35
    Vi2 hhc123 Virtual PPP (PPPoE ) 00:00:15 x.x.225.37
    Vi3 mahaguthi Virtual PPP (PPPoE ) 00:00:55 x.x.225.33
    Vi4 atlas Virtual PPP (PPPoE ) 00:00:35 x.x.225.36
    Vi5 hope Virtual PPP (PPPoE ) 00:01:35 x.x.225.34
    Vi6 ktptest Virtual PPP (PPPoE ) 00:00:05 x.x.225.38
    PPPoE#

  • PDF/A limiting use of online forms for some users - Acrobat 8

    I have been creating fillable forms to post online for my program.  A number of users (Adobe or Acrobat) get a message that says, "The file you have opened complies with the PDF/A standard and has been opened read-only to prevent modification."   Folks who get this message cannot fill in the "fillable" form.  Folks who don't get the message can complete the form without difficulty.  When I check the settings in Word and Acrobat, I find no indication that the form is set to PDF/A. 
    I want every one with Adobe or Acrobe or Acrobat to be able to complete these forms.  How can I correct this on my end so the forms are trouble free for users?
    Thanks, Barb

    Thanks George!  I would really appreciate your looking at it.  Here is the link.  It should go right to the form.  http://deq.state.wy.us/wqd/WYPDES_Permitting/WYPDES_Storm_Water/Forms/NOI_LCGP_2011_rev8-1 1_aSG_reader_enabled.pdf
    This should go right to the form.  I have other fillable forms on this web page and they seem to be accessible to folks using reader.  I really can't see what I did to this one.  I've looked at the PDF/A setting and I don't think it's set to PDF/A.  I've been working more with this one trying to fix the problem, but I think I either do nothing or make it worse ...
    Thanks again.  Barb

Maybe you are looking for

  • Pulse train generation without general purpose counters

    Hello, I am attempting to generate a continuous square wave using Labview, but I do not want to use the hardware counters because I am using them to measure pulse widths on two other signals. I have tried using analog pulse generation VIs, but they s

  • How to send IDOC XML to ftp or other servers using ABAP

    Hi,,,,,,EXPERTS I m able to generate IDocs in XML format, using the XML port definition in SAP. The XML file is generated in the application server, in the physical directory specified in the port definition. The application server in on Windows oper

  • Transforming webtemplates via xslt?

    Hello Experts, a customer has a Backupsystem to save webtemplates out of BW7. Those Webtemplates are saved as rawd ata (XML) and NOT as pdf-files. Is there any chance to use the rawdata  via XSLT or any other technology to convert them into HTML or P

  • Oracle Application Server 10g R3 documentation link not working

    The Oracle Application Server 10g R3 documentation link is not working: From otn.oracle.com if you click on Documentation and then select Application Server it is supposed to take you to http://www.oracle.com/technology/documentation/appserver.html b

  • Copying IPTC caption information from one file to another

    I need some help with jpeg files to run a script or Automator workflow to copy from one picture to another IPTC information (that's the text that makes up the caption, source, date location etc information in jpegs). I have more than 300 high res pic