Help needed in RTF form field to display yes or no based on xml value

Hi,
I have the data in xml as follows: <CP_ZERO_COST>2</CP_ZERO_COST>
Now my requirement is, if CP_ZERO_COST is 2 then the column should display 'No' and if CP_ZERO_COST is 1 the column should display 'Yes'. Now this 'yes' or 'no' is not coming in xml tag. I need to do that in RTF form field.
Could anyone please tell me how to do that?
Please help.
Thanks

Try this:
<?choose:?>
<?when: CP_ZERO_COST = 2?><?'NO'?>
<?end when?>
<?when: CP_ZERO_COST = 1?><?'Yes'?>
<?end when?>
<?otherwise?><?CP_ZERO_COST?> --- You don't have to include this if the only possible values are 1 and 2.
<?end otherwise?>
<?end choose?>
You can also use if then else logic. Ensure that you specify the correct path to get to CP_ZERO_COST
Thanks!

Similar Messages

  • Help needed with this form in DW

    Hi, i have created this form in dreamweaver but ive got this problem.
    In the fields above the text field, the client needs to fill in some info such as name, email telephone number etc.
    But the problem is when ill get the messages. Only the text from the large text field is there.
    What did i do wrong??
    http://www.hureninparamaribo.nl/contact.html
    Thank you
    Anybody??

    Thank you for your response. So what do i have to do to fix this?
    Date: Sun, 20 Jan 2013 07:57:56 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help needed with this form in DW
        Re: Help needed with this form in DW
        created by Ken Binney in Dreamweaver General - View the full discussion
    You have several duplicate "name" attributes in these rows which also appears in the first row
    Telefoon:
    Huurperiode:
    Aantal personen:
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5008247#5008247
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5008247#5008247
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5008247#5008247. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Need to show some fields in display mode

    Hi, i need to show some fields in display mode for VA02 transaction code( is to change the values) for some particular users. so do we have any user exits for this requirement?
    Please answer me. its very urgent.. thanks in advance. 
    ex: payment terms and freight terms.

    you can try this for header level data
    MV45AFZZ exit ""USEREXIT_FIELD_MODIFICATION"
    code would be like below
       CASE screen-name.
    To suppress  Pricing total and Cuurency field at header
          WHEN 'VBAK-NETWR'.
    *YOU CAN ADD YOUR CONDITION HERE WHICH IF SATISFY THEN *EXECUTE NEXT  LINE OR SKIP IT   
          screen-INPUT = 0.
          WHEN 'VBAK-WAERK'.
              screen-INPUT = 0
        ENDCASE.
    but it depend upon what data AND in which tab you want to hide, like is it at header level or at item level or pricing (HEADER OR ITEM) data each of them have different exit to restrict data modification.
    ENJOY SAP.

  • How to compare two currency form fields and display a message if the fields do not equal?

    My form has 2 fields named Total_1 and Total_2. If one of the fields does not equal the other, a hidden field will display a message in red on the form alerting the user. Otherwise, the message does not display. Looks like a validation script but I would greatly appreciate help in getting it started. Any ideas?
    Thanks, Charlie
    charlie6067

    Since the field values that you want to compare are the results of calculations, you should not normally compare their string values, but rather their numeric values when rounded appropriately (and perhaps then converted to a string). For example, if you have two values that display as 3.14, one could be 3.1400000001 and the other could be 3.13999999999991234. When you get the field values as strings and compare them, they won't be equal though they appear to be. Even some values that are numerically identical won't be equal when compared as strings ("0.0" != "0.00") So the code could be changed to:
    // Get the two field values, rounded to two decimals
    var v1 = util.printf("%.2f", getField("Total_1").value);
    var v2 = util.printf("%.2f", getField("Total_2").value);
    // Hide/Show the error message
    event.value = (v1 === v2 || (+v1 === 0 && +v2 === 0)) ? "" : "Error message here.";

  • Need to flatten form fields in pdf

    After a reader extensions enabled form has been submitted, we need to preserve a read-only version of the pdf. Where in the tangled mess of products and api's would I find a server-side version of the PDF Optimizer's flatten form fields feature?

    Thank you Paul!
    Could you please be so kind to help me build the right XFDF file?
    I have tried already something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
    <f href="Form.pdf"/>
         <fields>
              <field name ="DATASET">
                   <field name ="FIELDNAME"><value>1</value></field>
              </field>
         </fields>
    </xfdf>
    But it doesn't work
    I also have tried to fill it using xdp
    Like
    <?xml version="1.0" encoding="UTF-8"?>
    <?xfa generator="AdobeLiveCycleDesigner_V8.0" APIVersion="2.5.6290.0"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
    <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
       <xfa:data xfa:dataNode="dataGroup"/>
       <dd:dataDescription xmlns:dd="http://ns.adobe.com/data-description/" dd:name="DATASET">
             <FIELDNAME />
       </dd:dataDescription>
    </xfa:datasets>
    <pdf href="Form.pdf" xmlns="http://ns.adobe.com/xdp/pdf/" />
    <connectionSet xmlns="http://www.xfa.org/schema/xfa-connection-set/2.4/">
       <xmlConnection name="Datenverbindung" dataDescription="DATASET">
          <uri>.\blank.xml</uri>
       </xmlConnection>
    </connectionSet>
    </xdp:xdp>
    and blank.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <DATASET>
       <FIELDNAME>Test</FIELDNAME>
    </DATASET>
    It doesn't work either.  In both cases the PDF opens but the data will be not populated. :-(

  • Help needed....can I display my intel imac on this TV?.....................

    Im thinking of getting this TV but before I do I need to know if I can display my intel imac on it....
    http://www.pantheronline.co.uk/shop.php?Call=showdetail&stock_id=LE32R74BDX&ref= pricerunner&epi=615336
    Does anyone know? If so what leads do I need?
    Thanks in advance!

    The iMac Intel has a Mini DVI Port.According to PantherOnline that TV has a HDMI port so you would need:
    Apple Mini DVI to DVI adaptor.
    A DVI to HDMI adaptor and a HDMI lead. This will be the best quality possible.
    According to dabs.com (which incidentally is much cheaper (£160 less) than on the site you list) for the same model lists a VGA port on the Samsung. So you could use the Apple Mini DVI - VGA adaptor and a suitable VGA cable; although the quality will be somewhat less it should still be very acceptable.
    Before you buy any electronics check the prices internet wide...
    HTH
    mrtotes

  • Form help needed- creating a PRIORITY FIELD

    I cannot figure this out as i have looked all over the
    internet to no avail.
    I have a 30 question coldfusion flash form.
    I would like the user to select their top eight questions by
    having a drop menu labeled 1 thru 8 beside each question.
    The priority number can only be chosen once.
    Help please...

    zoemayne wrote:
    java:26: cannot find symbol
    symbol  : method add(java.lang.String)
    location: class Dictionary
    add(toAdd);this is in the dictionary class
    generic messageThat's because there is no add(...) method in your Dictionary class: the add(...) method is in your WordList class.
    To answer your next question "+how do I add things to my list then?+": Well, you need to create an instance of your WordList class and call the add(...) method on that instance.
    Here's an example of instantiating an object and invoking a method on that instance:
    Integer i = new Integer(6); // create an instance of Integer
    System.out.println(i.toString()); // call it's toString() method and display it on the "stdout"

  • Help needed on Populating forms

    Hi,
    I am new to Apex and would appreciate any help regarding this.
    The scenario is as follows: I need to have a form which can be saved and edited each time user logs in untill the user presses submit button. Now I have created a form (with text, radiogroup, checkboxes LOV's etc) which inserts the data entered and selected by the user to the database when he presses 'save'. But the next time the user logs in, I am unable to display the form with the previously entered data. How do I populate the database values to the form (As I mentioned before, the form contains radiogroup, LOV'S etc) ?
    Thank you.
    Regards,
    Sumana

    Hi,
    Sorry for late reply... and thank you for sending the link...
    Priyanka, I checked out the link... its fine... but thats not my requirement...
    it is as follows:
    1) there is login page...with login_info table and user_id as primary key
    2)a form whose data is stored in a table with user_id as foreign key.
    3)form has 2 buttons- create and apply changes.
    4)for the first time...user enters data and clicks create.
    5)when he logs in for 2nd time...the data he entered previously must be populated into the form...so that he can update it and save t by clicking apply changes button...
    now how do i populate data of that particular user when he logs in? Do i use sessions?
    And regarding automatic dml...its working fine...but automatic row fetch is not happening... So, i have written a separate procedure..by which i can now populate forms when i have hardcoded user_id...
    how to do this dynamically?

  • Help needed on the logic used to display ERP Sales order in CRM WEB UI

    Hi,
    I have a requirement where i need to trigger an activity/workflow in CRM for orders that are created through ERP Salesorder functionality. In the workflow list, we need to give the order description and provide an hyperlink to the order number. on selection of order number, it should display the ERP sales order. To achive this in workflow, i am trying to understand the as-is standard functionality which is available in Agent Inbox search on ERP sales order.This search is getting the ERP orders and on selecting the order it is opening the ERO sales order page. I tried debugging the method GET_MAINCATAEGORY available in the component iccmp_inbox and in the view Inboxsearch.But couldnt really able to crack the logic how it is retrieving the ERP sales order from inbox search. Any pointers on how this is achieved will be of great help.
    Thanks,
    Udaya

    Hi Denis,
    very good idea. I thougt myself about that workaround, but it is not really that for what I searched.
    I mean the "SAP Query" is a really good standard tool, that are used by many customers. That is why think there must be a standard way to display the SAP Query in the Web UI without using Transaction Launcher.
    But it seems that there is no way, except of the transaction launcher or by using an additional analyse system like SAP BI.
    By the way do you know a Web UI compoment which enable the user to start reports like SE38?
    Regards
    Fabian

  • Help needed with 'Conditions' for field with read only on demand

    Hy guys,
    I really need your help now, i have two items named P22_LOGIN_TYPE (..wich can be 'Default' or 'Special') and P22_PASSWORD, i need to turn to 'read only' the second item when the first item is 'Default', i'v tryied the conditional option but with no success, i know is managed from there but it's not working for me, it seems that i don't know exactly how to do it. By the way, i have APEX 2.2.
    I need an exact guide (explanation) on how to do it, thank you very much.
    Best regards,
    Victor

    Firstly you could set your First item to be a select list with submit. Make the branch go to the same page.
    Secondly, on the read-only conditions for your second item, use the condition when item in expression 1 = value in expression 2, and set that to 'Default' in expression 2.
    Essentially this will re-submit your page when you make a selection either 'Default' or 'Special'. If 'Default' is selected, then the PASSWORD item will be rendered as read-only. If you don't want to display the PASSWORD item at all, you can put the above condition for the read-only, into the conditions section of the item.
    Hope this helps and is not too confusing. It reads a lot worse than it actually is ;)
    Cj

  • Help needed with my form - PLEASE!

    My form on avarislaw.com is working properly.
    The form attach file area should not be mandatory but for some reason it still apears even when I change this in BC.
    Please help!
    Thanks
    Andy

    You need to remove the javascript validation for that form element in the HTML of the form as well.

  • Help needed to "map" HRMS fields for reporting

    Hi all,
    I have been asked to map for reporting purposes all the fields in the HRMS person and assignment forms, plus vacany requisition and absence.
    For example, on the people form in HRMS the "last Name" field would translate into sql as "per_people_F.last_name".
    I have found all the person/assignment/absence and vacancy fields but cannot find any of the following:
    Bank account/ pay method information.
    Salary previous/ salary proposal form information
    Anything from the element entries screen or the tax information fields.
    Anyone have any ideas which tables would hold this information for querying using developer or toad??

    Hi Michel, Vijaya, Praksh
    Thanks for all the replies. I will be a bit more detailed in my Query and Vijaya if u cud explain me the same way then it wud be helpful...
    Idoc Structure:
    GLMAST01
    IDOC
      BEGIN
    --EDI_DC40
         SEGEMENT
        TABNAM
    --E1SKA1M
         SEGMENT
        MSGFN
        KTOPl
        SAKNR
      --E1SKATM
         SEGMENT
         MSGFN
      --E1SKB1M
         SEGMENT
         MSGFN
    The Message type is
    FCC_MSGTYPE
    -MOVEMENT
      -Row
        MANDT
        KTOPL
        SAKNR
    I am not sure whether to Map the MOVEMENT part. Tell me what I should do. The requirement is to populate the R/3 with the MANDT, KTOPL, SAKNR etc which all occur in the E1SKA1M segemnt and the nothing to the subsegments under it.
    Please tell me how to do that.
    Thanking all in anticipation.
    Best Regards
    Chakra and Somnath

  • Help needed with tabular form

    hello,
    I have a table with an flag_indicator whose default value is 0 which is of number datatype.
    and I am displaying the column falg_indicator it as a standard report column in my tabular form with value 0.
    but the thing is that now I want to display te column as " NO" in my tabular form (shouldn't be editable column)
    jst want to display as "NO" in my column instead of 0.
    can anyone help me out with this.
    thanks.

    Hi,
    If you change your column in select use decode function ?
    Something Like this
    DECODE(your_column,'0','NO',your_column) AS your_column_nameBr, Jari

  • Help needed with fillable form

    I have created a form in Adobe, which was very easy.  However, when it was emailed out to other users, several commented that they couldn't make revisions to it.  Most of the users had either Flash or Reader, not many having Standard or Professional.  After some research, I found the Submit Form button, which looks like it would work, but I need some assitance on making sure it formatted correctly.  I also need some assistance on setting up a siguature and using it.  I have utilized the Help function while working on the form, but it doesn't seem to get me anywhere.
    If anyone has any experience with a form like this, I would appreicate any help!

    Looks like the LiveCycle recommendation is appropriate since you did not create the form in Acrobat. The techniques for working forms is different in Designer and the form cannot be edited in Acrobat once Designer is used. I would have to look at the form in Designer on my other machine at work to provide any comments, but the other forum should lead to more useful feedback.

  • Absolute beginner - help needed PJC javabeans - Forms 6/AS 9i

    Hi,
    i'm very interested upon the possibility to extend my forms 6 application using pluggable java components and javabeans. Searched for some documents, papers, book or tutorial explaining the subject (of course i've readed the online help... but sincerely this didn't help very much) in vain. I'm a newcomer in java technoligies (a little more experienced in "standard" forms 6 programming). The questions are: 1) what kind of configuration i need for my developing environment (registry, directory structures, environment variables, AS settings and configuration). 2) where to begin (examples, tutorial, first step). Anyone knows a book a could use to learn from scratch?
    Thank you in advance to anyone could help.
    Massimo

    Thank you for your answer Andreas. I knew Francois site (very interesting) and i saw the page about first bean building. Unfortunately that paper isn't applyable in my case. I'm using Forms builder 6, not jdev on 10g. My first problem is to understand all the "configuration" needed and some instuction for realizing a simple bean (a calendar control, for instance) inside a form. I'm puzzling... i can't see nowhere a working example to study from...

Maybe you are looking for

  • Multiple choice question in intractive pdf?

    Hi, I have a question about Multiple option question. How to create Multiple option single answer question with explanation popup in interactive PDF. Please guide me. Regards Anil

  • DVDSP Menu to fit wide screen and sd tv's?

    I burned a DVD with DVDSP and it turned out great only thing is the menu is cropped on a 4x3 monitor, but looks great on a widescreen tv. The video works fine on both, but I must have missed a setting for the menu. Which option am I missing for the m

  • Set PO item rejection indicator via IDoc ORDRSP?

    Dear experts, is it possible to set the rejection indicator in the purchase order item (EKPO-ABSKZ) via processing an order confirmation IDoc ORDRSP? I found nothing but SAP note 890812 where SAP proposes a workaround with manual setting of the rejec

  • PrintParams "silent" ignores PDF Print Preset to Duplex

    Hello All, Here is my script to send a PDF to the default printer. var pp = this.getPrintParams();  var fv = pp.constants.flagValues; pp.flags = (fv.setPageSize=false);//Sets the Auto-Rotate and Center Flag pp.interactive = 0;// 0=interactive, 1=auto

  • What's the deal with error -36?

    Okay. I'm a football coach, and I spend a lot of time working with video. Unfortunately, the sole reason I purchased a Mac (video editing) is malfunctioning, and no longer allows me to perform the very action I shelled out money for. Mac Powerbook 1g