Syntax for form with name id[1] in it

Hi all,
I'm trying to use this:
document.form1.id[1].value=x
to set the value of a select control on a form that is named id[1]. It doesn't work and complains that form1.id.1 does not exist. If I ditch the [] brackets than it works but I can't rename the control because it is part of OSCommerce.
How do I encapsulate the id[1] so that it is treated literal.
The on_click event is being triggered from outside the form so I can't use this keyword.
I suck...so help me!
TIA,

Sorry about that - you are right, I am trying to find syntax help with Javascript.
Thanks for responding though.
Please disregard my post as I found the solution early this AM.

Similar Messages

  • No Definition for parameter with name NOREFFLAG available: IP Function

    Hi All!
    I'm working with Portal 7 and BW 7
    I'm trying to create a Planning Function of Type: <b>Distribution by reference data</b> when I indicate some characteristics to be changed in the "To Characteristics Usage" tab and change to the "To Parameters" tab, I get the following error:
    <i> The initial exception that caused the request to fail, was:
      <b>com.sap.ip.bi.plan.sb.interfaces.ifs.other.NoSuchElementException: No Definition for parameter with name NOREFFLAG available</b>.
        at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.checkRequest(ParamSetDef.java:123)
        at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.getParamElementaryDef(ParamSetDef.java:84)
        at com.sap.ip.bi.plan.sb.interfaces.cls.srv.ParamSet.getParamElementary(ParamSet.java:113)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.DistRefDataParamsDialogComp.setAll(DistRefDataParamsDialogComp.java:326)
        at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogComp.setAll(InternalDistRefDataParamsDialogComp.java:199)
        ... 62 more
    Detailed Exception Chain
    com.sap.ip.bi.plan.sb.interfaces.ifs.other.NoSuchElementException: No Definition for parameter with name NOREFFLAG available.
         at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.checkRequest(ParamSetDef.java:123)
         at com.sap.ip.bi.plan.sb.interfaces.cls.tydef.ParamSetDef.getParamElementaryDef(ParamSetDef.java:84)
         at com.sap.ip.bi.plan.sb.interfaces.cls.srv.ParamSet.getParamElementary(ParamSet.java:113)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.DistRefDataParamsDialogComp.setAll(DistRefDataParamsDialogComp.java:326)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogComp.setAll(InternalDistRefDataParamsDialogComp.java:199)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.DistRefDataParamsDialogCompInterface.setAll(DistRefDataParamsDialogCompInterface.java:143)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogCompInterface.setAll(InternalDistRefDataParamsDialogCompInterface.java:156)
         at com.sap.ip.bi.plan.sb.plandialogcomps02.distrefdata.wdp.InternalDistRefDataParamsDialogCompInterface$External.setAll(InternalDistRefDataParamsDialogCompInterface.java:212)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.ParamScreenCust.loadNewRule(ParamScreenCust.java:315)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.ParamScreenCust._reloadAll(ParamScreenCust.java:590)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.ParamScreenCust.prepareView(ParamScreenCust.java:341)
         at com.sap.ip.bi.plan.sb.impl.main.pscreencust.wdp.InternalParamScreenCust.prepareView(InternalParamScreenCust.java:179)
         at com.sap.ip.bi.plan.sb.impl.main.SBuilderMainComp.ehDoNavigationAfterCheck(SBuilderMainComp.java:561)
         at com.sap.ip.bi.plan.sb.impl.main.wdp.InternalSBuilderMainComp.wdInvokeEventHandler(InternalSBuilderMainComp.java:229)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.invokeEventHandler(DelegatingComponent.java:161)
         at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:283)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.wdp.InternalCharUsageScreenCust.wdFireEventEventCharUsageCheckAfter(InternalCharUsageScreenCust.java:236)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.CharUsageScreenCust._finishUpdateAndNavigationAfterCheck(CharUsageScreenCust.java:373)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.CharUsageScreenCust.checkCharUsage(CharUsageScreenCust.java:257)
         at com.sap.ip.bi.plan.sb.impl.main.cuscreencust.wdp.InternalCharUsageScreenCust.checkCharUsage(InternalCharUsageScreenCust.java:151)
         at com.sap.ip.bi.plan.sb.impl.main.SBuilderMainCompView.onActionNavButton(SBuilderMainCompView.java:230)
         at com.sap.ip.bi.plan.sb.impl.main.wdp.InternalSBuilderMainCompView.wdInvokeEventHandler(InternalSBuilderMainCompView.java:206)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)</i>
    I'll apreciate any help!.
    Thnks a lot!
    Yolanda.

    Hi Hans
    Yes, It was because I had to active some objects in the bussines content, specifically:
    Type Objects --> Type Formulas.  all of them.
    I unmarked this thread as a quiestion, that's for I cannot assing you points.
    Thnk you very much .

  • Additional fields in report for form with report

    Hello,
    I got the problem, that I want to create a form with report where the form only changes the values of one table but the report is also using additional fields linked from another table. If I take a view with all fields for my form with report, the form is about all fields and not only about those from the first table. So is there a way to have another table linked to the form than to the report and get a link between them by a key?
    I hope that someone has got a great idea and can help me solving this.
    Thanks
    Jochen

    Jochen,
    you can create a form with report on the view and afterwards you change the SQL-query into a query on the view. Take care that the original column names remain the same. You get your extra columns in the report and your link to the form remains,
    good luck,
    DickDral

  • XSL Stylesheet for Form with TEXT AREA not responding to DATASRC or DATAFLD

    I have a stylesheet for Form which displays data in the input boxes for edit and re submit.
    While all input text boxes show data from the database, TextArea box does not display the value for edit
    <div align="left">
    <table border="0" cellpadding="0" cellspacing="0"
    width="600">
    <tr>
    <td width="600" height="1">
    <font face="Arial" size="2">17. Describe how
    the accident or exposure
    happened</font>
    <textarea rows="3"
    name="P_ACCD_TXT"
    datafld="{ACCD_TXT}"
    onblur="javascript:while(''+this.value.charAt(0)==' ')this.value=this.value.substring(1,this.value.length);"
    cols="72">
    </textarea>
    </td>
    </tr>
    </table>
    </div>
    In other input boxes value="{column_name}" works, but value attribute is not available for textarea. both datasrc="{ACCD_TXT}" and datafld="{ACCD_TXT}" do not work.
    Is it because datsrc and datafld are not supported. Would very much appreciate if some one can clarify on tthis and advise how to go about retreiving data into textarea box
    Thanks

    datasrc and datafld are Microsoft IE specific "data binding" attributes that are supported in the MS IE5 implementation of HTML.
    What you likely want is just the standard HTML way of putting data into a <textarea> that you would do in XSLT like this:
    <textarea>
    <xsl:value-of select="ACCD_TXT"/>
    </textarea>assuming that the current node has a child element named <ACCD_TXT> in the source document.

  • Autofill works for forms with autocomplete="off"

    From what I can grasp here:
    https://developer.mozilla.org/en-US/Firefox/Releases/30/Site_Compatibility#Security
    If a field or form has autocomplete="off" set, the password manager should prompt the user to save the password, but the password can not be auto-filled into the field.
    This is not what I'm experiencing. I have a simple form with email and password field. Both the form itself and the fields have autocomplete="off", but Firefox 30 will still let me store the details and auto-fill them.
    I cannot allow this, as it breaks Angular JS's binding causing things to not work.

    You can try to set the signon.autofillForms pref to false on the <b>about:config</b> page.
    Note that the signon.overrideAutocomplete pref controls the behavior with autocomplete=off
    You can open the <b>about:config</b> page via the location/address bar and you can accept the warning and click "I'll be careful" to continue.
    *http://kb.mozillazine.org/about:config

  • Oracle Syntax for Update with Join

    Can anyone help with the Oracle Syntax on and update that includes a join?
    This is what I've got:
    Update
    (SELECT a.DOCUMENT_NO
    From DOCUMENT_CONTROL a, DOCNOTEST b
    where a.DOCUMENT_NO = b.DOCUMENT_NO)
    set a.PATH = NULL
    Everything I try leads to another error message. With the current code I'm getting the error message: ORA-00971 a.path invalid identifier.
    I am much more familiar with SQL Server (if you can't tell :) This is the way I would write the above in SQL Server.
    UPDATE DOCUMENT_CONTROL
    Set [Path] = ''
    FROM DOCUMENT_CONTROL
    INNER JOIN DOCNOTEST
    ON DOCUMENT_CONTROL.DOCUMENT_NO=DOCNOTEST.DOCUMENT_NO
    where DOCUMENT_CONTROL.DOCUMENT_NO=DOCNOTEST.DOCUMENT_NO
    Does anyone have any advice for me? Thanks in advance

    Alternate syntax since it seems you're not able to update the join...
    update DOCUMENT_CONTROL a
    set
       a.path = null
    where a.path is not null
    and exists
       select null
       from DOCNOTEST b
       where  a.DOCUMENT_NO = b.DOCUMENT_NO
    );

  • What is the correct fsck syntax for issue with invisible disk ?

    Hello everybody,
    My problem actually (I also have a problem with the 17" Install DVD) is to repair *3 disks* with *fsck command*, as the filesystems are damaged. I phoned Apple Assistance Saturday, for about 30 minutes, but finally the Advisor sent me a link to one of their thousands (and sometimes obsolete) articles, and the solution wasn't there entirely.
    I'll describe you the problem :
    One of my USB external disks (4TB data) *doesn't appear* after Startup, but when I use the Install DVD and Disk Utility, the application tells me it's OK, that the disk "SEEMS" to be alright etc. That's false.
    When I reboot with *Cmd + S* (root level), and tell Terminal (I have been obliged to print the four states of an American Extended keyboard) :
    "sudo fsck -fy /dev/disk4s1"
    the reply is :
    "BAD SUPER BLOCK: MAGIC NUMBER WRONG
    LOOK FOR ALTERNATE SUPERBLOCKS? yes
    SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
    -b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
    SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8)."
    So, I use the *-b option* of *fsck command*, and :
    "fsck: -b flag *requires a number*"
    "-b size Specify the size, in bytes, of the physical blocks used by
    the -B option."
    So, I'm searching *since 3 days* (and *I'm learning a lot*, but nothing, of course, concerning my problem) the full info command to know *what sector address* I have to tell to -b to install an alternate superblock, because I need to know exactly at which places filesystems and *data start* and end.
    You understand, I suppose, that I can't use any of my softwares, because the disk is INVISIBLE (doesn't exist) after normal restarting.
    It's not MOUNTED nor UNMOUNTED.
    It exists (very well, thank you) when rebooting *with Apple Install DVD*.
    I'm under *Snow Leopard 10.6.5*, and I don't know if, perhaps,
    *there wouldn't be a problem* (or more) with this update ...
    That's what I've seen, in any case, on other places here,
    about several different issues.
    Please, Bob, Gary, Camelot, etresoft, Bill, Jun, Nils, Cole, Charles, Michael,
    gimme some help !
    If someone has the full solution, a beginning of solution,
    or a path to solution,
    thank you very, very much in advance !
    With my best regards
    Vialatte

    Dear Camelot,
    First, thank you very much for answering me and try to help me ;
    Secundo, please read, if you have time, what I replied to Bill Scott,
    and I have to thank you also for your slightly better contribution and understanding.
    Some words of what I've replied to him are written for you too :
    "I type *sudo fsck -fy /dev/disk4s2* (not s1, of course, and *Camelot is perfectly right*, having remarked this mistake, as *s1 is dedicated to partition map* volumes).
    There's also *a strange thing* with Disk Utility when starting from DVD :
    it doesn't display the s1 volumes as usual."
    As you've read it in my reply to Bill, it's a *complicated issue* and *Apple has no response*.
    You tell me : "+Good luck with that.+" It starts badly.
    "+It's been a long time since I've had to deal with superblocks+"
    I totally ignored their existence …
    "+- they just don't come up any more,+" What is the meaning of this sentence ?
    "+but I don't know any way of recovering the superblock address after a disk has failed.+" That's the matter of my question : *Is it a failure ?*
    "+Typically (at least, historically) you get the superblock addresses in advance, storing them somewhere safe until you need them.+"
    That's a total discovery for me.
    You tell me then : "+Are you talking about in the Finder here?+" Yes and no, I talk about the Sidebar (see below), but it's part of the Finder.
    "+Have you checked the Finder's preferences to make sure it's just not hiding external drives?+" I did, when you told me to do so.
    "+Since everything else tells you that the drive is OK+" Yes, you're right, when starting from Install DVD, that's *very strange*, but remember fsck doesn't say *the same at all* as Disk Utility ... "+this just sounds like a Finder preference setting to me.+"
    I'm sorry, it would have been wonderful. My settings are correct, that means :
    NOTHING on Desktop, ALL (including Computer) in the Sidebar (and clicking on Computer allows me to check that *no volume* has vanished from Sidebar (it happens sometimes).
    "+If it's not the Finder prefs, then please post the output of diskutil list in order to troubleshoot further.+"
    Here it is (a little far below), but there's *none of the 2 4TB volumes* (yes, there are two disks missing now) here, because, as I already said that, they are invisible for the Finder and *Disk Utility*, and I think *it's the same for Terminal.*
    You'll note there's *no BOOTCAMP partition* here (I removed it temporarly to solve this issue), and don't be afraid if there are several systems on the internal HD.
    As I noticed it here and there, there are problems with 10.6.5.
    So, I try to work with 10.6.4 (delivered with MBP 17"), but have also an universal 10.6.0 Snow Leopard, with which I can configurate 10.6 *at any state*.
    Unfortunately, I *can't use* (it so that Apple decided to do) the DVD delivered with my 15" MBP (rejected by 17"), because it is with my MBP 15" that I formatted those disks.
    *Another thing :* If I didn't want my wife *to install herself* (with me to help her) the 15" MBP I've gave to her (there's the 17" new 500GB 5400rpm installed in it by me), I would already have tried to connect these two 4TB, just to see.
    Last login: Fri Nov 26 21:22:38 on ttys005
    sys171064:~ OH$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *500.1 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_HFS Seagate 149.9 GB disk0s2
    3: Apple_HFS System 17 64.9 GB disk0s3
    4: Apple_HFS Sys171064 34.9 GB disk0s4
    5: Apple_HFS For Alu Black System 149.6 GB disk0s5
    6: Apple_HFS SL 10.6.x 100.0 GB disk0s6
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: Applepartitionscheme *16.1 GB disk1
    1: Applepartitionmap 32.3 KB disk1s1
    2: Apple_HFSX olivier_herrbach 16.1 GB disk1s2
    /dev/disk2
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk2
    1: EFI 209.7 MB disk2s1
    2: Apple_HFS HSD 01 TM 600 Go 599.9 GB disk2s2
    3: Apple_HFS HSD 01 400 Go 120.6 GB disk2s3
    4: Apple_HFS DiskTools > Seagate ... 279.1 GB disk2s4
    /dev/disk3
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk3
    1: EFI 209.7 MB disk3s1
    2: Apple_HFS HELP ÉNERGIE 1,5 To 1.5 TB disk3s2
    /dev/disk4
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk4
    1: EFI 209.7 MB disk4s1
    2: Apple_HFS HSD USB 03 1To 999.9 GB disk4s2
    /dev/disk5
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *32.0 GB disk5
    1: EFI 209.7 MB disk5s1
    2: Apple_HFS Patriot USB Key 32 Go 31.7 GB disk5s2
    /dev/disk6
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk6
    1: EFI 209.7 MB disk6s1
    2: Apple_HFS WD USB 1,5 To 1.1 TB disk6s2
    3: Apple_HFS WD 02 350 Go Seagate 349.9 GB disk6s3
    /dev/disk7
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.0 TB disk7
    1: EFI 209.7 MB disk7s1
    2: Apple_HFS HSD USB 02 50 Go 49.9 GB disk7s2
    3: Apple_HFS HSD USB 02 715 Go 714.6 GB disk7s3
    4: Apple_HFS HSD USB 02 110 Go 110.0 GB disk7s4
    5: Apple_HFS HSD USB 02 100 Go 99.9 GB disk7s5
    /dev/disk8
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk8
    1: EFI 209.7 MB disk8s1
    2: Apple_HFS WD USB 2To 2.0 TB disk8s2
    /dev/disk9
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk9
    1: EFI 209.7 MB disk9s1
    2: Apple_HFS FW 03 TM 2To 2.0 TB disk9s2
    /dev/disk10
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *1.5 TB disk10
    1: EFI 209.7 MB disk10s1
    2: Apple_HFS FW 02 1,2 To 1.2 TB disk10s2
    3: Apple_HFS FW 02 200 Go 199.9 GB disk10s3
    4: Apple_HFS FW 02 CS5MC 50 Go 49.9 GB disk10s4
    5: Apple_HFS FW 02 Leopard 50 Go 50.0 GB disk10s5
    /dev/disk11
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk11
    1: EFI 209.7 MB disk11s1
    2: Apple_HFS FC 02 Time Machine 1.0 TB disk11s2
    3: Apple_HFS FC 02 SL 1To 999.5 GB disk11s3
    /dev/disk12
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk12
    1: EFI 209.7 MB disk12s1
    2: Apple_HFS FC 01A USB 1To 700.0 GB disk12s2
    3: Apple_HFS FC 01C 300 Go Leo 299.9 GB disk12s3
    4: Apple_HFS FC 01B USB 1To 699.8 GB disk12s4
    5: Apple_HFS Leopard 125 Go 300.0 GB disk12s5
    /dev/disk13
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk13
    1: EFI 209.7 MB disk13s1
    2: Apple_HFS FW 04 TM 2To 2.0 TB disk13s2
    3: Apple_HFS eDrive 12.9 GB disk13s3
    /dev/disk14
    #: TYPE NAME SIZE IDENTIFIER
    0: GUIDpartitionscheme *2.0 TB disk14
    1: EFI 209.7 MB disk14s1
    2: Apple_HFS FW 05 2To 2.0 TB disk14s2
    sys171064:~ OH$
    As you and I see, I strongly believe that disk15s2 and disk16s2 (with s3, s4, s5 etc. partitions) are missing.
    I must find a way to prove what I say to you. Remember that we are not in the case where I use *Cmd + s* after rebooting with Install DVD, but under normal utilisation. What follows has no interest :
    Last login: Fri Nov 26 21:23:55 on ttys006
    sys171064:~ OH$ sudo fsck -fy /dev/disk15s2
    Password:
    /dev/disk15s2: No such file or directory
    Can't stat /dev/disk15s2
    Can't stat /dev/disk15s2: No such file or directory
    sys171064:~ OH$
    So, I will now restart my MacBook Pro with Mac OS X 10.6.4 Install DVD, and go :
    —1 in *Disk Utility* ;
    —2 in Terminal (with *Cmd + s*).
    I'll *note all* what I see, and then write you what I found.
    You'll be nice to tell me if there's a way, in these conditions,
    a) to *save Disk Utility log* ; or/and
    b) to *save Terminal Output(s)* (.txt) ; or/and
    c) to *take and save screenshots*, ; or/and
    d) to *print anything*. (?)
    as I don't know how it's possible to save these informations.
    Thank you once more for your help. I'll do things now, but as it is 23:02 here in France, maybe I won't write you till tomorrow.
    But, if you can answer to a), b), c) or d) above, post it to me please, because I'll go back here tonight.
    And, also, *but I don't want to bore you*, I'd like to learn how to *copy and paste parts of messages* as you did, and how to *insert a Grab item (.png)* in a discussion, because an image is better than thousand words (that's what we say in France, but I'm sure we are not alone on Earth — like in the Universe).
    With my best regards
    Vialatte

  • I've lost the toolbar icon to fill in requests for identification with name, address, phone.can i restore it?

    there was an icon on the toolbar on top of my computer page that, when clicked, would print my prteviously stored ,somewhere , name, computer address, home address, city, state. zip, phone number in a the blanks provided by the addressee. it has now gone, ?with installation of firefox 4.01?
    This was VERY helpful in online shopping, signing petitions how can i reinstallit? Thanks!

    Thanks for the reply.
    I'm not using cc cleaner.
    This started after an update. Somewhere there must be an option box to turn off this feature permanently, but no one seems to know where it is. I must turn it off every time under view, layout, message pane.
    I have no need for this feature. If I want to see the email i open it. If not I delete it. Having it take up half of my email page is a totally useless feature.
    Any suggestions

  • ORA-00933 - Error in PL/SQL for Form with report.

    Hello,
    I am getting this error :
    failed to parse SQL query:
    ORA-00933: SQL command not properly ended
    and my PL/SQL function body returning SQL is as follows:
    Declare
    q varchar2(32767);
    w varchar2(4000);
    v_total varchar2(10);
    Begin
    v_total:='TOTAL' ;
    q:=' SELECT ASR_DB_CLIENT.CLIENT_NAME, ';
    q:=q||' ASR_DB_OIS.ACCT_NAME, ';
    q:=q||' ASR_DB_OIS.ACCT_NBR, ';
    q:=q||' ASR_DB_OIS.INCEPT_DT, ';
    q:=q||' asr_db_prod.MKT_CODE, ';
    q:=q||' asr_db_prod.asst_clss, ';
    q:=q||' ASR_DB_OIS.PROD_CODE, ';
    q:=q||' ASR_DB_OIS.GROUP_CODE, ';
    q:=q||' ASR_DB_PLAN.TAX_STAT, ';
    q:=q||' asr_db_clnt_type.clnt_type_name, ';
    q:=q||' asr_db_plan_type.plan_type_name, ';
    q:=q||' ASR_DB_OIS.ACCT_type, ';
    q:=q||' ASR_DB_PLAN.CNTRY_CODE, ';
    q:=q||' ASR_DB_OIS.DISCRET_FLAG, ';
    q:=q||' ASR_DB_OIS.ASST_BAL ';
    q:=q||' FROM ASR_DB_OIS, ASR_DB_PLAN, ASR_DB_CLIENT, ASR_DB_PROD, ';
    q:=q||' asr_db_plan_type, ';
    q:=q||' asr_db_Clnt_type ';
    q:=q||' WHERE';
    q:=q||' ASR_DB_OIS.PLAN_ID = ASR_DB_PLAN.PLAN_ID and ';
    q:=q||' ASR_DB_OIS.as_of_dt = ASR_DB_PLAN.as_of_dt and ';
    q:=q||' ASR_DB_PLAN.CLIENT_ID = ASR_DB_CLIENT.CLIENT_ID and ';
    q:=q||' ASR_DB_OIS.as_of_dt = ASR_DB_CLIENT.as_of_dt and ';
    q:=q||' asr_db_ois.prod_code = asr_db_prod.prod_code and ';
    q:=q||' ASR_DB_PLAN.plan_type_code = ASR_DB_PLAN_type.plan_type_code and ';
    q:=q||' ASR_DB_Client.clnt_type_code = ASR_DB_clnt_type.clnt_type_code and ';
    q:=q||' ASR_DB_OIS.AS_OF_DT = :p99_asofdate ';
    IF :P2_ROLLUPSLEEVE = 'RU'
    THEN
    q :=q||' and ASR_DB_OIS.PARENT_OIS_ID is null ';
    Else
    q :=q||' and ASR_DB_OIS.ACCT_TYPE like "%"'||v_total||'"%" ';
    q :=q||' and ASR_DB_OIS.PARENT_OIS_ID is not null ';
    END IF;
    return q;
    end;
    Why this is failing ?
    Is "%"'||v_total||'"%" '; incorrect ?
    P2_ROLLUPSLEEVE is a radio button.
    Please advise....
    Thanks,
    HM

    And
    Also, I get the following error when I try few other things like
    q :=q||' and ASR_DB_OIS.ACCT_TYPE = '||v_total||' ';
    or
    q :=q||' and ASR_DB_OIS.ACCT_TYPE = "||v_total||" ';
    failed to parse SQL query:
    ORA-00904: "TOTAL": invalid identifier
    And
    ORA-06550: line 43, column 41: PLS-00103: Encountered the symbol "TOTAL" when expecting one of the following: * & = - + ; < / > at in is mod remainder not rem <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || member SUBMULTISET_ The symbol "* was inserted before "TOTAL" to continue.
    When I try
    q :=q||' and ASR_DB_OIS.ACCT_TYPE = "'TOTAL'" ';
    Any helpful tips will be much appreciated.
    Thanks,
    HM

  • Save the PDF Form with Field Name

    HI Guys,
    I have the Requirment in PDF Form.The PDF Form is generated with the Adobe Live Cycle Designer.After generating the PDF Form the user filled the details in the form and save the filled form.while clicking the Save button the default PDF name is displayed in the File name box.The Requirement is iam having one field in the form.The Field name value should needs to displayed in the File name box during saving.Is it possible.Once its possible please let me know.This is needs to be delivered very shortly.
    Thanks & Regards,
    SatheshKumar R

    You can save the form with name generated from a field's value, but therefore you will have to install a folder level script first and design a custom save button in your form.
    You cannot do this with the applications save or save as... buttons, and you also cannot rename a file on submit.
    Here's an example form and a folder level script. (Maybe to complicated fdr newbies)
    http://thelivecycle.blogspot.com/search/label/Save

  • Submitting form with Enter key

    Hello,
    in standard html form, when you have form with submit button, the enter key when any form element is selected submits the form.
    This is very convenient for users, so I want this with UIX forms. I know it is possible (I have one form where it is working), but I can't get it working anywhere else.
    This code works:
    <uix:form method="post" name="newRoleForm">
    <uix:inlineMessage prompt="Role name">
    <uix:textInput name="newRoleName" />
    <uix:spacer width="15" />
    <uix:submitButton text="Create" formName="newRoleForm" />
    </uix:inlineMessage>
    <uix:formValue name="jboEvent" value="newRole" />
    </uix:form>
    When I copy this code to another page, it does not work...
    Can somebody help, please?

    I've studied the HTML generated by UIX and it has following bugs and misfeatures:
    1. Misfeature: Submitting with Enter works ONLY if there is exactly one text field in the form (no submit button is actually needed), as Brian Stoler wrote. I don't understand reason for this.
    2. Bug: UIX generates javascript function "_submitOnEnter" which is called as event handler for "onKeyPress" event. But this function is erroneously generated multiple times, once for each form in the page. Browsers (Mozilla and IE) use the latest implementation. This function is different for forms with one text field and for forms with more text field, but only the first one can do the job. As a consequence of this, Enter can submit the form only if the last form on a page has single text field (which is for example not the case of search form with single field above another form...)
    Tested with UIX 2.1.7 in JDeveloper 9.0.3.3, using UIX as JSP tag library.
    Workaround:
    1. Use Opera browser: it submits form with enter key even if there is no submit button (this does not work for the first text field in the form, because it has "onkeypress" event handler).
    2. Implement this feature by hand yourself, if you really need it (see below).
    3. Use accessKey: allows to submit form with Alt+<key> combination (followed by Enter with IE).
    Implementing Enter key submits with Javascript:
    1. Put the following function to the header (or to javascript library):
    function enter(e, frm) {
    var kc;
    if(window.event) kc=window.event.keyCode;
    else if(e) kc=e.which;
    else return true;
    if(kc==13) {
    submitForm(frm,1);
    return false;
    Function copied from UIX (C).
    2. Add this event handler to each input element:
    onKeyPress="return enter(event, 'formName');"
    It is obvious that this is error prone, but it works with all browsers...
    Will this be fixed in future versions?
    Why only form with one text field can be submitted?

  • Submitting form with attachments.

    Hi,
    I have a simple need. I am stucked in it. What i need to do is:
    Step 1: User1 starts opens a pdf form inside LC Workspace, fill it, attach files (Reader Extended) and then submit it.
    Step 2: User2 receives the filled form with attcachments. Can view attachments and save them in repository.
    I am stucked at step 1. User is able to fill the form, add attachments but can't submit it. If I am not enabling the Reader Extensions for attachments (Disabling functionality to attach files) then it works fine. But when using with attachments option, it fails. It gives no error, no message and does not passed to the 2nd user.
    Is there any special requirement in developing such process/form ??
    Please help me out on it.
    Abhinav

    I've studied the HTML generated by UIX and it has following bugs and misfeatures:
    1. Misfeature: Submitting with Enter works ONLY if there is exactly one text field in the form (no submit button is actually needed), as Brian Stoler wrote. I don't understand reason for this.
    2. Bug: UIX generates javascript function "_submitOnEnter" which is called as event handler for "onKeyPress" event. But this function is erroneously generated multiple times, once for each form in the page. Browsers (Mozilla and IE) use the latest implementation. This function is different for forms with one text field and for forms with more text field, but only the first one can do the job. As a consequence of this, Enter can submit the form only if the last form on a page has single text field (which is for example not the case of search form with single field above another form...)
    Tested with UIX 2.1.7 in JDeveloper 9.0.3.3, using UIX as JSP tag library.
    Workaround:
    1. Use Opera browser: it submits form with enter key even if there is no submit button (this does not work for the first text field in the form, because it has "onkeypress" event handler).
    2. Implement this feature by hand yourself, if you really need it (see below).
    3. Use accessKey: allows to submit form with Alt+<key> combination (followed by Enter with IE).
    Implementing Enter key submits with Javascript:
    1. Put the following function to the header (or to javascript library):
    function enter(e, frm) {
    var kc;
    if(window.event) kc=window.event.keyCode;
    else if(e) kc=e.which;
    else return true;
    if(kc==13) {
    submitForm(frm,1);
    return false;
    Function copied from UIX (C).
    2. Add this event handler to each input element:
    onKeyPress="return enter(event, 'formName');"
    It is obvious that this is error prone, but it works with all browsers...
    Will this be fixed in future versions?
    Why only form with one text field can be submitted?

  • Syntax for deleting listener config.

    Can you delete / recreate a listener ?
    I can't seem to find the right syntax for this.
    NAME=ora.rac2.LISTENER_RAC2.lsnr
    TYPE=application
    TARGET=ONLINE
    STATE=OFFLINE
    ------------------------------------------------------------

    If you don't want to use netca then shutdown the listener you want to get rid off. Make sure it is offline. Clean-up listener.ora (and maybe tnsnames.ora) manually then issue:
    crs_unregister ora.rac2.LISTENER_RAC2.lsnr
    Hope this helps.

  • I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this?

    I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this? I have 4 blocks of Single Choice fields in order for the summary page to give me each day in the final report. But, I need the user to be able to make a selection of any day and time and that apointment to no longer be available to future users when they log in. Plus, when the user clicks on the time, they are unable to change their mind and choose another time. Here's the link if you want to see what I'm talking about: 2015-2016 Workload Apportionment Review

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • Best Solution for Creating an Onlne Purchase order form with multiple calculation fields

    I am a bit confused.  Our school has a Forms Central account which works great for our registration forms but I need to find a solution for creating an online purchase form with multiple calculation fields - I know that forms central does not support calculation fields (too bad) but I know that Acrobat Pro does... soooo...
    Can you create the forms in Acrobat and then somehow integrate the advanced features into forms central?  Do they talk to each other?  Is this easy to do? .... I guess another way to putting it is can you create the forms in Acrobat including all of the advanced features for payment calculation and then host it online using Forms Central to manage and collect the data? (I guess that really is my question)
    Thanks (how does this compare to a solution like Formstack?)

    Hi, thanks.
    The naming convention was the consistant up until a point when I read that you need a '.' syntax (?!) - does anyone know if this is true?
    Attached is a version with Bernd Alheit's suggestion and with all the naming of the fields being consistant. It's still not working for me though after doing this and I'm stuck as to why, because I think it should work. I've also tried writing the calcualting line of code in the same manner that Bernd Alheit suggests before I came on here, and it wouldn't work then.
    As with any coding, it must be something to which I have done, but I can't see it anywhere
    Any ideas? Thanks for helping me
    Cheers

Maybe you are looking for

  • Display Job ID and Department ID using set operators

    I am trying to produce a list with the following output from table employees. This query will produce a list of jobs for departments 20, 60, and 25 in that order. JOB_ID DEPARTMENT_ID ASST 20 CLERK 60 MAN 60 MAN_B 25 So far I have the query to give t

  • Multiple hierarchies with a shared higher level in OBIEE

    Hello all, I'm trying to create multiple hierarchies for a shared dimension in OBIEE. I have gotten these to work in the past when each hierarchy for the dimension all shares the common "grand total" level at the top, but I now I'd like multiple hier

  • Unable to import .avi files from digicam

    I'm unable to import .avi files from my finepix digicam. I get a message that says the files are unreadable. With the previous iPhoto version (v 06) I didn't have any problems. Any thoughts?

  • I can't see downloaded wallpapers from Safari or other apps in my Photos folder

    Only the pictures that I click from the camera are being seen in the camera roll and the older wallpapers. None of the new pictures downloaded from Safari or other apps are seen. I tried deleting some photos, hoping that there must be a limit on the

  • Profile option in istore

    The sql of ASO_ATP_SHIP_TO_SITE_ID (while implementing check availability functionality in istore)shows error because of which no value could be set for it.Is there any workaround for this problem? Regds, Nithya