How to validate two items on a form that arent necessarily required

I have a NON REQUIRED text field in which a user will enter in a value. I have a Display as Text field that will populate the result based on what is entered in the text field. I am wanting to validate the information that is entered in the text box.
I added a validation stating if the information doesnt exist, then display an error message. This works for the most part but when the text field is null, it gives me the error message as well.
How can i validate only if a value is inserted?
Thanks
Deanna

Try
select last_name||','||first_name
from org1
where radionum = :p2_technician1_radio OR (:p2_technician1_radio is null)

Similar Messages

  • How to validate editbox item

    hi everybody...
    i have  a form with eidt box(uid 23) i want to check whether entered value is numeric or alphanumeric or alpha....
    i want to make it fix so that i should be able to enter only numeric values.....
    how to check this condition????

    Shenaz,
    This thread looks to be a repeat of this thread ...
    Re: how to validate editbox item
    Please only post your question once.
    Eddy

  • How to write two item in the same line?

    In the smartforms,how to write two item in the same line?
    eg
    1   *************                                    2  *****************
    3  **************                                   4  ******************
    5  ***************
    Anyone got any idea to do this.
    Thanks in advance

    Hi,
    In the smartform the main windows is 20cm.I use the table output my data.Because the output is two item in same line,I define two rows in the table line type.
    Question:
    Should I define the table width 20cm?
    In the main area of table , should I define two folders and each of folder include a line? The second item I had already defined as Append Directly,but the item 1 and item 2 don't in the same line.
    Regards

  • How do I delete items from menu bar  that are not part of the OS

    How do I delete items from menu bar  that are not part of the OS

    Perhaps you could be more specific, as it is a little difficult to answer your question without any details.  I can give you some general ideas though.
    On my machine there are a few applications that have installed items into the menu bar - I'm assuming you are talking about the icons on the right hand side of the top bar. To remove those items, I would generally need to uninstall the program that created them. To do this varies a little from application to application.
    Also, sometimes an application will have preferences that allow you choose if you want to display the item in the menu bar.
    So, my general advice would be that you need to identify the application that placed the item there, and remove it from your computer.  If there is an uninstall program for that application, I would run that in the first instance.
    If you don't actually wish to uninstall the application, you may need to click on the item or run the application and see if there is a setting to not show the menu bar item.
    Hope that helps.
    Ivan

  • How to arrange two items into a row in the webdynpro provided by SAP?

    I am trying to custormize the ESS personal information - address info.
    My question is that how to put two separate items (like City and Address) into a same row?
    That is to change
    City: xxx
    Address: bbb
    to
    City: xxx     Address: bbb
    ps: I didn't got the NWDI, former changes were made by the ctrl + right clk.
    Thanks in advance!

    Hi,
       As like Shemim said, you can set the RootUIElementContainer layout property as Matrix Layout and in the UI Element (ie. label), Change the layoutdata property to MatrixHeadData to start in New line and to the show in the label in same line, set layoutdata property to MatrixData
    Regards,
    Venkatesh. K
    /* Points are Welcome */

  • How to display two item groups Side by Side (Horizontal)

    I'm using Designer 9.04 and Hradstart 6.5 updated for designer 9.0.4.
    I have two item groups defined in one of the forms module. I wand to display them side-by-side but the generated form shows the item groups one below the other.
    Any idea how to solve this?
    Thanks
    Vimal

    Is your window wide enough?
    If nothing else helps, you can use the Relative tab stop editor to force generator to place the item groups horizontally. Set the tab stop scope of the item groups to parent and place them on two different tab stops.

  • How to show two items using $f_Show_On_Value_Item_Row

    Hi,
    I have a select list with values with Yes, No and two items(1 check box, 1 text field) below it.
    I want to show two items if i select 'Yes' in select list.
    I am able to show/hide one item using onchange="$f_Show_On_Value_Item_Row(this,'P1_A_EMAIL_PERS_REQ','Yes');"
    How can i pass two items to this function.
    Thanks for ur help in advance
    Regards,
    Ram

    Ram,
    Rather than putting the call to $f_Show... inline with the onchange handler, create a separate function and call that function does the work and call that function instead. See this thread for some more details:
    Problem when calling more than 1 Javascript function
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

  • How to validate a item in page based on previous item in same page

    Hi,
    I need to know how we can hide items based on page item
    ie i have 5  item in same page like weighed(radio button) yes / no if user select yes na it ll automatically enable remaining fields like weight,packing charges, courier charges and net total
    and based on packing charges,courier charges, other charges the net charge ll be auto calculated.....
    please any one reply asap..
    Regards,
    Priya

    i have  to align the items in single page(form)....
    ie i have  to arrange the regions in sequential manner
    for example i have x , y , z , a  , b , c , d ,l m  regions
    y  and z in horizontal  in first row
    b  and c  in vertical  in first column
    x and a  in  vertical in second column
    d in vertical in third column
    l  and m in horizontal  in last  row
    y -----------------------  z
    b    x
    c    a    d
    l------------------------m
    to achieve this wat i have to do

  • How to validate Combobox items without expanding the combobox.

    Hi,
    I want to select the combobox item.
    before selecting an item I want to validate whether the item is present in the combobox list.
    while validating the item at for loop the combobox get expanded. 
    I don't want to expand it.
    if (children[index].Name == entryToSelect)
    isExists =
    true;
    break;
    Please share your thoughts.....

    Hi Rosy D,
    I also try to test it in my side.
    As far as I know we could collect all items with ComboBox.ObjectCollection class:
    http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.objectcollection(v=vs.110).aspx
    http://stackoverflow.com/questions/17709363/check-if-user-input-are-in-the-combobox-items
    But it seems that I'm failed to use this method in coded UI tests, so I’m afraid that it has this limitation for this issue.
    We would use the
    GetChildren method,
    but as far as I know, we would expand this control.
    Reference:
    https://social.msdn.microsoft.com/Forums/en-US/6f71fed3-777f-433a-87b0-e4190ff06632/telerik-combobox-returned-as-an-editbox-vs-combobox?forum=vsautotest
    http://stackoverflow.com/questions/18079008/get-all-values-from-a-listbox-using-coded-ui-test-and-select-it
    Best Regards,
    Jack 
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to save formula items in oracle forms?

    Dear All........
    I am nw in this forrum, can anybody plz tell me how to save forumula items in database, I also make that fields as a database field but it is not save in database. plz tell me. thx.

    Dear!
    Steps to take formula column value into database field, follow following steps:
    1. Draw a text field named "Formula_Cell"and set its properties which you want for formula. Now, goto its "Database" property set to "No".
    Now, goto its "Canvas" Property set to "Null".
    2. Now, in Pre-Insert or Pre-Update trigger use following code:
    Suppose database field name is AMOUNT then:
    :AMOUNT := :FORMULA_CELL;
    If you want to mension block names with this then you may do.
    Remeber, Formula Column's property of Database must be set to No.
    Now, try to save I hope you will got a good solution...

  • How to create a button on a form that automatically creates a new page or form with pre-filled field

    I'm trying to create an advanced workorder for my company.  In short, I need to have a summary page that includes pertinent contact and matter information but then have the users have the ability to essentially click a button and have it auto-generate and populate certain information in a new form (or page).  In this instance, it's trying to take summary form and then allow it to expand to an additional 5 forms, but not necessarily always have all the unecessary details or modules if not applicable for that job.
    Any suggestions would be appreciated.

    Thank for reply.
    The computers are in different locations, but yes it's possible, the users in this enviroment are all local administrator of the machines, and we can distribute the script centrally from the DC automatically
    Acrobat use Java, right? I'm not so expert in java, but something about it could not be so difficult to manage.
    Do you know some place where i can get some info about JS and acrobat?

  • How to Edit the subject of a form that is submitted to me via email?

    Is there a way to Edit the subject of a form that is submitted to me via email?
    Ex. I've created multiple forms in Dreamweaver. They are submitted to my email address without problem.
    When I receive them, the default subject line in my email is "Form posted from Microsoft Internet Explorer"
    I want each of my forms to have their own subject line.
    Thanks

    Hi
    In your form to mail script insert the following just above the actual function to send the mail -
    $optional_subject = $_POST['form_subject'];
    and $optional_subject in your mail function just before the body info of your email.
    Insert an hidden field in your form with the id "form_subject" and the value you wish.
    PZ
    www.pziecina.com

  • How to make a button on a form that will not appear when printed?

    Hello again!
    I have a rather strange request that I got recently from my employeer regarding a form that we are currently working on:
    We have a form with a Acrobat created button on it that links to an attachment.  She does not want the button to appear when the document is printed.
    Is this even possible??
    Thanks in advance!
    Best Regards,
    Ashley

    You can set the form field to be "Visible but doesn't print" rather than "Visible". This is far easier than the scripting solution.

  • How to pass multiple items in Adobe forms to a Webservice

    Hello, all.
    I'm trying to create Interactive Form to create a sales order in R/3.
    Please somebody tell me how to pass the multiple line item data to the Webservice.
    For example, the Webservice I'm using was generated from BAPI_SALESORDER_CREATEFORMDAT2.
    The BAPI has tables for item data in sales order.
    However, when I create the form with table for item data, the only last line of the table is passed to the Webservice.
    How can I create Adobe forms to pass multiple line item to the Webservice.

    Hi,
    I have worked on the same application for the creation sales order and has used the same BAPI.
    You should first extract the data from the table node through the method "get_static_attributes_table" and take all the result into a table of type same as element of that particular node.
    Now pass the data from this table into the internal table of type as mentioned in the BAPI using work area.
    And pass this table to BAPI.
    This will work .
    Regards,
    Shruti

  • How to validate date columns in tabular forms?

    Hi,
    I have two date columns in a tabular form
    1.Start_date 2.End_date so here i need to validate the end_date as should not be lesser value than start_date column
    so any solution for this?

    Hi,
    use a validation of type "Function returning boolean" and the following code:
    IF to_date(:YOUR_END_DATE,'YYYY-MM-DD') < to_date(:YOUR_START_DATE,'YYYY-MM-DD') THEN RETURN FALSE;
    ELSE RETURN TRUE;
    END IF;The date format is of course in your choice.
    Hope this helps...
    Thanks
    Sandro

Maybe you are looking for