Help needed in setting form values

I have following fields in the form
Radio boxes - Grant and Deny
Text Area - User comments
Buttons - Submit Cancel
I want the user comments field 'Required' only when we select 'Deny' option
For Grant- it should not be required.
If we select Deny option and click on Submit, it should say - Missing Value in the required field - User Comments.
Please guide.

I added a validation on Subit button as -
If user commets are null and deny is selected - give error message..
It worked.

Similar Messages

  • Help needed in setting Default Value of Concurrent program parameter

    Hi All,
    I have 3 parameters in a concurrent program
    Org ID From
    Org ID To
    Currency Code
    In the Currency Code parameter I want to use the following query in the Default Value
    SELECT currency_code
    FROM gl_sets_of_books sob, org_organization_definitions ood
    WHERE ood.organization_id = :p_org_id_from
    AND sob.set_of_books_id = ood.set_of_books_id
    Now, at runtime this gives me an error of p_org_id.
    Can anyone please advice me how can I use this parameter(p_org_id_from) in the above query.
    Any help will be really appreciated.
    Regards,
    Shruti

    Hi Helios,
    Thaks a lot for the help.
    I modified the query as follows:
    SELECT currency_code
    FROM gl_sets_of_books sob, org_organization_definitions ood
    WHERE ood.organization_id = :$FLEX$.ORG_INTRANSIT
    AND sob.set_of_books_id = ood.set_of_books_id
    Here ORG_INTRANSIT is the valueset I am using in From Org ID and To Org ID.
    Now the problem which I face is that when I use ORG_INTRANSIT valueset in both From Org as well as TO Org then the Currency is not defaulted, but if I use it in either From Org or To Org then the Currency is defaulted.
    How can I resolve this. Please help.
    Regards,
    Shruti

  • Help needed in setting up Japanese Database

    Hi there,
    Help needed in setting up Japanese Database.
    I created database with UTF8 character set on Sun Solaris O/S.
    Oracle version 8.1.7.
    I am accessing the DB through SQL*Plus (Windows client).
    I downloaded the Japanese font on client side and also set the NLS_LANG environment variable to Japanese_Japan.UTF8. Still, I am not able to view Japanese characters. O/S on client side is Windows 2000 professional (English). Is O/S (client) need to be Japanese O/S? When I try to retrieve sysdate, its displaying in Japanese but not all characters in Japanese. Can anyone help me out how to set up the client and is there any parameters to be setup at server side? I also tried to insert japanese characters into table through client, but it displaying as "?????" characters. Any help in this regard is appreciated.
    Thanks in advance,
    -Shankar

    lol
    your program is working just fine.
    do you know what accept does? if not read below.
    serversocket.accept() is where java stops and waits for a (client)socket to connect to it.
    only after a socket has connected wil the program continue.
    try putting the accept() in its own little thread and let it wait there while your program continues in another thread

  • 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 set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • Need to set default value on Account Search

    HI All,
    In BSP BP_HEADSEARCH view MainSearch I need to default the value of the attribute 'RESP_AREA' to '01'. I can see the attribute on the value node SEARCH but when get the current context of SEARCH the entity is of a type CL_CRM_BOL_DQUERY_SERVICE and I am not sure how to set the default value.
    Any help will be appreciated,
    Regards,
    Tom

    Hi Tom,
    When it comes to setting values in a search entity you can not use the normal getter/setter methods because the context node class will be inherited from CL_BSP_WD_CONTEXT_NODE_ASP. In the context node class there will be few attributes (FIELD,MAX_HITS,OPERATOR,VALUE1,VALUE2) that corresponds to the fields diosplayed in the search criteria. The fields VALUE1 and VALUE2 represents the LOW and HIGH values.
    To set default value for RESP_AREA you must redefine SET_VALUE1 method and read the ATTR_NAME. If ATTR_NAME is RESP_AREA then you can set the value.
    Method SET_VALUE1.
    * Get current criterion
      data: criterion type ref to if_bol_bo_property_access.
      if iterator is bound.
        criterion = iterator->get_current( ).
      else.
        criterion = me->parameter_collection->get_current( ).
      endif.
    * Set its low value from user input
      try.
          data: lv_value type string.
          lv_value =
             me->convert_value_from_string( iv_string = value
                                            iv_criterion = criterion ).
          criterion->set_property( iv_attr_name = 'LOW'
                                   iv_value = lv_value ).       "#EC NOTEXT
        cleanup.
    *     Keep buggy user input for correction
          criterion->set_property( iv_attr_name = 'LOW'
                                   iv_value = value ).          "#EC NOTEXT
      endtry.
    * Set the default value for RESP_AREA
    lv_attr_name =  criterion->get_property_as_string( 'ATTR_NAME' ).
    if lv_attr_name eq 'RESP_AREA'.
        criterion->set_property( iv_attr_name = 'LOW' iv_value = ---- ).
    Endif.
    Regards,
    Arun

  • Need to set default value in table EABL.

    Hi Experts,
    How to set default value of field ATIM form 00:00 to 23:59 ion field selection screen for table EABL in transaction SE16?

    hi jazz try this way.
    forget about every thing and come from beginning.
    by now i think your are familiar with shd0.
    firstly create a variant using shd0 for your table eabl with default value and save it and activate it.
    next check whether it is working or not by opening se11 or 14 and enter table name and click display, the you can you see your default vale in your required field.
    after it is done the come to second part i.e your se16.
    now create another variant for this and save it and activate it.
    (by this i mean to say you are creating two variants )
    hope this will solve your problem.
    if your purpose is not solved yet then please write to my mbox.
    regards,
    kool.

  • Help needed to set consecutive numbering in table rows

    I need to set up a table so that the first column is a column of consecutive numbers (much like the record count).
    The table will be followed with a text frame, and then a new table will start.
    HOWEVER. I wanted to numbers in the first column to continue consecutively.
    I am using this for a lengthy explanation of technical instructions: one instruction/ per line.
    There will be about 1000+ instructions over the course of this 200-page book. The second column contains a checkbox, which is why I am having problems setting this up in an ordinary word-processing program, because of export issues (Dont ask). The third column contains the instruction.
    I am hoping that Numbers will solve my formatting problems.
    *Is there a simple way to set up the first table column in a sheet to number the rows consecutively, and continue the numbering each time a new table is inserted?*
    I hope I have explained this well enough.

    Fred, is it possible for this to work with other number related items. I'm talking specifically about sequential inventory numbers. At work I used excel, but now that computer is dead, and I'm working from home. I've refused to install microsoft products on my home machine for quite a while. I love numbers, and am glad it's out, so I am never even tempted by the "devil". Sorry got off topic.
    Essentially I used to write BLX-001 in cell one, BLX-002 in cell two, then do the drag method. When I have text in the Numbers cell though it won't give consecutive numbers, just continually repeat the numbers in the first two cells. Any helps

  • 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!

  • Help needed in XML Form Builder

    Hi All,
    I require your help in XML form .
    when we create a XML form in Builder we can define some caption values such as $sap_user , $ locDate which displays the
    user id and date in the respective field when the form is opened.
    I need to dispaly the phone number,department etc from the LDAP /UME to my from .
    How can i get it .
    Please help.
    Regards,
    Nitesh

    Which environment are you trying this in ? In Enterprise server, bursting is defined by a SQL query which can be run against the table that you want. So you can even populate the printer name from your query. So the URI, ipp://myprintserver:631/printers/printername" is the syntax. In your case you have to create this string in your SQL query by concatenating the parts "ipp://" + printername + ":631/". If there is a name to the printer in the printserver, then that too can be concatenated.
    In case this is in EBS , the same has to be done in the control file.

  • HELP NEEDED !! Null values in Database

    Hi there !!
    I need help with EJB 3.0 passing null values to database. The situation looks like that :
    I have created EJB entity class called "Osoba.java", it is in relation
    with "Rola.java" (one to many). Each Object of class Osoba can have
    many Roles. Then I created "OsobaServiceBean.java " I included it with
    metod "CreateUnregisteredOsoba(Osoba , Boolean)". From "flex" level I
    call this bean - call is accepted, and as a result new object of class Osoba is added to database. Problem is that only one column is filled in table,
    dispite that in service bean I enforce it to fill all columns (see
    source code - file OsobaServiceBean.java , method
    createUnregisteredOsoba() )
    I provided source code here :
    FILE Rola.java
    package test.granite.ejb3.entity ;
    import javax.persistence.Basic;
    import javax.persistence.CascadeType;
    import javax.persistence.Entity;
    import javax.persistence.ManyToOne;
    @Entity
    public class Rola extends AbstractEntity {
    private static final long serialVersionUID = 1L;
    @Basic
    private String login = new String("");
    @Basic
    private String rola = new String("");
    @Basic
    private String roleGroup = new String("");
    @Basic
    private Boolean zatwierdzony = new Boolean(false);
    @ManyToOne(optional=false)
    private Osoba osoba;
    public Boolean getZatwierdzony() {
    return zatwierdzony;
    public void setZatwierdzony(Boolean zatwierdzony) {
    this.zatwierdzony = zatwierdzony;
    public String getLogin() {
    return login;
    public void setLogin(String login) {
    this.login = login;
    public String getRola() {
    return rola;
    public void setRola(String rola) {
    this.rola = rola;
    public Osoba getOsoba() {
    return osoba;
    public void setOsoba(Osoba osoba) {
    this.osoba = osoba;
    public String getRoleGroup() {
    return roleGroup;
    public void setRoleGroup(String roleGroup) {
    this.roleGroup = roleGroup;
    FILE Osoba.java
    package test.granite.ejb3.entity ;
    import java.util.HashSet;
    import java.util.Set;
    import javax.persistence.Basic;
    import javax.persistence.CascadeType;
    import javax.persistence.Entity;
    import javax.persistence.FetchType;
    import javax.persistence.OneToMany;
    @Entity
    public class Osoba extends AbstractEntity {
    private static final long serialVersionUID = 1L;
    @Basic
    private String imie;
    @Basic
    private String nazwisko;
    @Basic
    private String login;
    @Basic
    private String haslo;
    @OneToMany(cascade=CascadeType.ALL, fetch=FetchType.EAGER,
    mappedBy="osoba")
    private Set<Rola> role = new HashSet<Rola>();
    @Basic
    private String email;
    @Basic
    private String nrTelefonu;
    @Basic
    private int rokStudiow;
    public String getPelneImie() {
    StringBuilder sb = new StringBuilder();
    if (imie != null && imie.length() > 0)
    sb.append(imie);
    if (nazwisko != null && nazwisko.length() > 0) {
    if (sb.length() > 0)
    sb.append(' ');
    sb.append(nazwisko);
    return sb.toString();
    public String getImie() {
    return imie;
    public void setImie(String imie) {
    this.imie = imie;
    public String getNazwisko() {
    return nazwisko;
    public void setNazwisko(String nazwisko) {
    this.nazwisko = nazwisko;
    public String getLogin() {
    return login;
    public void setLogin(String login) {
    this.login = login;
    public String getHaslo() {
    return haslo;
    public void setHaslo(String haslo) {
    this.haslo = haslo;
    public Set<Rola> getRole() {
    return role;
    public void setRole(Set<Rola> role) {
    this.role = role;
    public String getEmail() {
    return email;
    public void setEmail(String email) {
    this.email = email;
    public String getNrTelefonu() {
    return nrTelefonu;
    public void setNrTelefonu(String nrTelefonu) {
    this.nrTelefonu = nrTelefonu;
    public int getRokStudiow() {
    return rokStudiow;
    public void setRokStudiow(int rokStudiow) {
    this.rokStudiow = rokStudiow;
    FILE OsobaServiceBean.java
    package test.granite.ejb3.service;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Set;
    import javax.annotation.security.RolesAllowed;
    import javax.ejb.Local;
    import javax.ejb.Stateless;
    import javax.persistence.Query;
    import org.jboss.annotation.security.SecurityDomain ;
    import test.granite.ejb3.entity.Osoba;
    import test.granite.ejb3.entity.Rola;
    @Stateless
    @Local(OsobaService.class)
    @SecurityDomain("other")
    public class OsobaServiceBean extends AbstractEntityService implements
    OsobaService{
    private static final long serialVersionUID = 1L;
    public OsobaServiceBean() {
    super();
    public List<Osoba> findAllOsoba() {
    return findAll(Osoba.class);
    @SuppressWarnings("unchecked")
    public List<Osoba> findAllOsoba(String name) {
    Query query = manager.createQuery (
    "select distinct p from Osoba p " +
    "where upper(p.imie) like upper('%" + name + "%')
    or upper(p.nazwisko) like upper('%" + name + "%')"
    return query.getResultList();
    public Osoba createOsoba(Osoba person) { // pozwalamy
    tworzyc zeby niezalogowany
    return manager.merge (person); //
    uzytkownik utworzyl osobe
    } // ale
    osoba ta i tak nie bedzie jeszcze
    // zatwierdzona
    @RolesAllowed({"unregistered"})
    public Osoba createUnregisteredOsoba(Osoba person, boolean
    zatwierdzony) {
    Rola niezarejestrowany = new Rola();
    niezarejestrowany.setRola("user");
    niezarejestrowany.setOsoba(person);
    niezarejestrowany.setRoleGroup("Roles");
    niezarejestrowany.setLogin(person.getLogin());
    niezarejestrowany.setZatwierdzony(zatwierdzony);
    Set<Rola> role = new HashSet<Rola>();
    role.add(niezarejestrowany);
    // Arrays;
    Object a[] = role.toArray();
    Rola temp;
    temp = (Rola)a[0];
    System.out.println("Login = " + temp.getLogin() + //
    added only for check !!
    "Rola = " + temp.getLogin() +
    "Zatwierdzony = " +
    temp.getZatwierdzony() +
    "Rolegroup = " + temp.getRoleGroup());
    person.setRole (role);
    return manager.merge(person); //
    uzytkownik utworzyl osobe
    } // ale
    osoba ta i tak nie bedzie jeszcze
    public Osoba modifyOsoba(Osoba person) {
    return manager.merge(person);
    @RolesAllowed({"admin"})
    public void deleteOsoba(Osoba person) {
    person = manager.find(Osoba.class, person.getId());
    manager.remove(person);
    public void deleteRola(Rola rola) {
    rola = manager.find(Rola.class, rola.getId());
    rola.getOsoba().getRole().remove(rola);
    manager.remove(rola);
    DATABASE LISTING :
    -----------------------------------------------------------------+----------\
    --------------------------------------------------------+
    | id | ENTITY_UID | version | rola |
    zatwierdzony | osoba_id | login | RoleGroup |
    -----------------------------------------------------------------+----------\
    --------------------------------------------------------+
    | 1 | | NULL | unregistered |
    | 0 | unregistered | Roles | NULL |
    | 33 | eee91bd9-8c5f-4154-8260-3cac9a18eb97 | 0 | user |
    | 34 | NULL | NULL |
    | 32 | a7ed4e8d-a1ba-473a-921c-73c8f8f89efb | 0 | user |
    | 33 | NULL | NULL |
    -----------------------------------------------------------------+----------\
    --------------------------------------------------------+
    The row numer 1 is added by hand and it works. row number 33 and 32
    are added to database by method CreateUnregisteredOsoba. As you can
    see fields login as well as Roles and RoleGroup are empty (NULL). What
    Im doing wrong ?
    Thanks for your help -
    Roman Kli&#347;
    PS. Table Osoba works fine - everything is added as I want.

    I solved problem.
    The reason why EJB had not added anything to database NULL was becouse wrong names of class. Ive refactored whole class Rola.java to RolaClass.java and suddenly it worked.
    True reason is still unknown but most importent is that it works.
    Thanx for reading topic - hope next time someone will answer my questions.
    By !!

  • 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 to set up Ports

    Hi,
    At the advice of the Tmobile tech, am trying to set up this:
    "In order for IPsec to work, the following ports need to be allowed through the firewall in both directions:
    UDP port 500 (Internet Key Exchange or "IKE")
    UDP port 4500 (IPSec/IKE NAT-T)
    Many consumer-grade routers, including the T-Mobile branded Wi-Fi routers, include a simple check-box that will enable IPsec communications. This option is typically named 'Enable IPsec passthrough' or something similar."
    Apple care said they were unable to assist and suggested coming here.
    I see in Airport Admin. where to add port mapping, but not sure what Services to choose, as all seem to have some values attached already.
    Also, I don't see anything anywhere called IPSEC....
    Thanks in advance!

    I got my at&t yahoo mail to work on the centro.  Not sure if it's the same as just plain old yahoo mail, but maybe this will help you.  Now I'm able to simply click the little mail button on my centro and it takes me to my inbox.  This was NOT through versa mail as far as I know.  To access the versa mail I have to go to a different icon on my centro thats just called "mail".  While my little quick mail key actually takes me to the application on my centro called "e-mail".
    I set it up as follows......
    Create your mail account and name it accordingly.   Enter your e-mail address and password and select next.  For mail type:  POP  enter your username (which is your e-mail address again).
    my incoming mail server I simply took right off my home computer set-up I had.  For me it was pop.att.yahoo.com  while the outgoing mail server was smtp.att.yahoo.com
    Then click on the advanced settings option.
    For the incoming service I selected to use a secure connection and made sure my port number matched what I had loaded in my home computer.  Then I selected next and for the outgoing server I selected to use the SSL connection AND the use authentication selection.  The later will require you to again enter your username and password (email address and password).  And I once again made sure my port number matched my home e-mail setting.
    And that was it.  I was able to get it to work. 
    Maybe it will not be the identical things for you, but maybe this will help some.
    Message Edited by herculesmomma on 05-05-2009 01:37 PM

  • 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.

  • Set Form Values From Interactive Report Row

    Using Apex 4.2.
    I have two tables: T1 and T2
    Table T1 contains five columns: CT11, CT12, CT13, CT14, CT15
    Table T2 contains 4 columns: CT21, CT22, CT23, CT24
    I have a page with two regions. Region 1 is a Form on a Table using table T1. Region 2 is an Interactive Report ( IR ) on table T2.
    The SQL for region 2 is:   select apex_item.RADIOGROUP(p_idx => 1, p_value => CT21) "Choose", CT22, CT23, CT24 from T2;
    When the user clicks a radio button for a row in the Interactive Report, I would like the values in the IR cells CT22, CT23, CT24 to populate the CT13, CT14, CT15 fields in the table form in region 1. If a user clicks another row radio button, the values should update.
    Any help is greatly appreciated.  Thanks!

    Hi,
    As per my understanding ur requirement is as below.
    When the user clicks the 'Link Column' it should redirect to another page with the value of id, Day, Start Time, and End Time.
    Hope all the cloumns are from the same table.
    As Denes said, it is enought to pass the ID value to the link column as of below.
    ie., u can modify ur query as of below.
    SELECT Last Name,First Name,Day,Start Time,End Time, ID as "Link Column"
    FROM t.
    Now u can pass the value  as #Link Column# which will pass the ID value to the next page.
    Hope my understanding is correct.

Maybe you are looking for