define a field as requires it, from the Group of radio buttons

I saw not a strong response if you can set the field as required - in this case a date field based on the selection of a previous radio button.

A post was that you couldn't do with calc form, it will have to be JS.

I'm not the best at that.  The form is sent by mail on a web server for data capture.

Any help would be appreciated.

Hello

Yes, you can change the status of 'necessary' to one or more fields by using the validate.nullTest in Formcalc or Javascript. You can use script like this in the output of the option button event:

If (this.rawValue == 1) then
DateTimeField1.validate.nullTest = "error".
on the other
DateTimeField1.validate.nullTest = "disabled".
endif

'error' sets the field referenced on required; considering that the 'disabled' changes back to not required.

Good luck

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Display image in the Group of radio buttons?

    Hello

    I tried to add images on my radio button group
    select '<img src="/../i/ok.png">' as d, 1 as r from dual
    But he replaces signs ' < ' and ' > "by" & lt; "and"& gt;""

    No idea how to avoid html to replace these characters?

    (I use Apex 4.0)

    Thank you

    Uji

    Hi Uji,

    To display an image on your radio group, using your original query:

    select '' as d, 1 as r from dual
    

    .. quality radio group element and scroll down to the area of 'Security' of the page this article Page, set 'Escape special characters' Noand click on apply changes. Now, when you run the page, you will see your image in your group of radio buttons.

    Kind regards
    Hilary

  • fields to show or hide the function of radio button

    Hi, in my form there are two radio buttons available. one is for 'Yes' and other is for the 'no '. There is also another 6 available and that all fields 6 fields are hidden by default.  If I click on 'Yes' below 3 fields should visible.

    text-1

    text-2

    text-3

    If I click on "no" above 3 fields must hide & 3 fields should visible below.

    text-4

    text-5

    text-6

    then u can pls give me JavaScript to manage my requirement. Thanks in advance.

    Hiding and showing form fields by Thom Parker

    Disabling (graying-out) form fields by Thom Parker

  • show / hide the Group of radio buttons

    How to set the visibility of a group of option buttons? Basically here is what I have, I have a radiobutton group which shows, if a user selects a specific element in this radiobuttongroup, I want a second group of radiobutton to become visible as the first group, if they deselect an option, I want this second group to become invisible. I already have my interlocutor fieldChanged for the first group, but I'm not sure how to determine the visibility of a control.

    Of the screen (manager) methods: add() and delete()

  • How to set the default value for the Group of radio buttons

    Hello
    Here's my situation.
    I have a form of HTML text. In the form, I have an element called "* drinks * ' and its options in the radio button group or coffee, tea. Now, I want to put a default value("NA") to the radio of drinks group. Is it feasible. If so, how. Advice would be useful. Thank you

    Hello!

    You can also set a default value in the radio unit of page article under the default setings. Here, you must put the result value (if you have static: Café;) One, the; B, NA; C you write C if you want NA default choice) of your radio.

    concerning

  • Is it possible to display an image instead of the button in a group of radio buttons?

    I am building an application must work with touch screens. I would like to show the buttons of the largest radio group as they are by default. Is it possible to make them appear larger, or to display a custom instead of the radio group image?

    Francisco

    Hi Francisco,.

    Back to your original question. Take a look at http://www.456bereastreet.com/lab/styling-form-controls-revisited/radio-button/ or look

    radio css
    

    on Google for examples of how you can change the icon of the radio group selection.

    On the use of the images himself for the Group of radio buttons. You can always include the necessary HTML tags in the query LOV himself as well. Just a very simple example:

    select ''||dname as d,
           deptno as r
      from dept
     order by dname
    

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

  • Group of radio buttons with the URL of image in a table

    I try to display text and an image for a group of radio buttons to make the form look like

    text (*) for point 1 {image for point 1}

    text () for article 2 item 2 {image}

    text () to the point 3 {image for point 3}

    I found these:

    Re: Is it possible to display an image instead of the button in a group of radio buttons?

    Display image in the Group of radio buttons?

    It looks like all I have to do is create a LOV that looks like:

    SELECT {complex stuff that generates the text string, tag img and image URL}

    DB_PK

    OF dynamic_view_for_lov - public synonym

    But my images are stored in a table.

    I was able to create an IR using the "= BLOB column Format" method.

    The SQL code for the report looks like:

    Select

    display_text, db_pk, image_len, image_clob

    of dynamic_view_for_lov - public synonym

    And the IMAGE_LEN column number/Date Format is:

    IMAGE: DYNAMIC_VIEW_FOR_LOV:IMAGE_BLOB:DB_PK:Inline:Download

    My question: how to create the URL for the tag img for the LOV?

    Thank you very much

    MK

    MikeKutz wrote:

    My question: how to create the URL for the tag img for the LOV?

    Use of the apex_util.get_blob_file_src method of the API.

  • Windows 7. I was on a field but myself removed from the latter. But now it always gives me my domain login screen as if she is still on the field, but I'm not

    Hello

    I have a problem with windows 7. I was on a field but myself removed from the latter. But now it always gives me my domain login screen as if it is still on the field but I'm not and I tried to do a restore system to a date until I was connected to the domain, but it keeps defaulting. Only, I can access my accounts the safe mode.

    It's something that you should discuss with your domain administrator.

  • Can we define a field value of contact with the CRM campaign settings ID campaign?

    Hello

    Can we define a field value of contact with the ID of CRM campaign?

    For example: LAST campaign SFDC ID (field of contact) = CRM campaign (campaign) No.

    The Eloqua campaign canvas has the possibility to update CRM directly with the status of the campaign on things like email send or clicks. IF you set these shares to be among the rules of the answer, then as they happen, they will create/update records of campaign in CRM directly responses. However, this will have an impact on information in Eloqua.

  • Removable storage to access folder is missing from the group policy under Administrative Templates\Systems

    Hello

    I intend to control the reading and writing of removable storage devices using Windows Server 2008 GPO.

    However, after reading the online group policy settings, when I tried to apply the GPO settings, I found that 'Access to removable storage' folder is missing from the group policy under administrative Templates\Systems.

    Please suggest others.

    Thank you

    Amit Jogi

    Hi Amit,

    Thanks for posting your query in Microsoft Community. However, your question is beyond the scope of what is generally answered in this forum of consumer and would be better suited for the IT Pro TechNet public.

    Please post your question in the TechNet Forums.

    Thank you.

  • change field bitmap on the focus of radio button

    Hello

    I have 4 radio buttons in a group of radio buttons. Each of the radio buttons has a picture that is linked to. I want to change the image of a bitmap field whenever a radio button got the update.

    How can I do?

    Thanks in advance.

    Call super.onFocus and super.onUnfocus, as well as the change of the bitmap of treatment.

  • How can I change the value of a group of radio buttons to a bidding process?

    I have an interactive report on page 1, and I'm passing the value of a column to the page of the two group of radio buttons.

    I wish I could switch this radio group and pass the parameter currently displayed in the submission process:

    #OWNER #. (CHPWD)
    PUSERNAME = >: P2_USERNAME,.
    PPASSWORD = >: P2_NEWPASSWORD,.
    (PUNLOCK = >: P2_RADIO_LOCKED);

    : P2_RADIO_LOCKED is not acquire any value that I can see.

    Published by: xerosaburu on August 17, 2009 15:07

    Published by: xerosaburu on August 17, 2009 15:08

    Hello:

    You could modify the code for the page process of implantation of the rocker.

    begin
    #OWNER#.CHPWD(
    PUSERNAME => :P2_USERNAME,
    PPASSWORD => :P2_NEWPASSWORD,
    PUNLOCK => :P2_RADIO_LOCKED);
    select decode(:P2_RADIO_LOCKED,'1','2','2','1) into :P2_RADIO_LOCKED from dual;
    end;
    

    CITY

  • How to programmatically set the option button selected on a group of radio buttons

    Hello, I have another question for you.

    How can I set an option specifically button selected programmatically on a group of Radio buttons? I think it's very simple, but I can't find a solution.

    Thank you in advance.

    You can use the SetActiveCtrl function

  • MessageLOVInput Field to display values from the LOV

    Hi all

    On my personal page, I have a MessageLOVInput Field and I need to restrict the user to enter the values of text free/junk in it and assign this user to select values only from the LOV (i.e. actual query LOV values) pop-up.

    I tried to find the same kind of questions, but I got this message https://community.oracle.com/thread/606973?start=0 & tstart = 0

    Please provide me the solution in detail

    Thank you

    Afzal

    Hi amal.

    Create a dummy element of value in the form type in your lov plan point create a new card for lov and give the point criteria as the id for your first card for lov and dummy element give posting as 'Yes' to the palette property. so every time that user enters certain undesirable values and try to save it will throw an error message like please enter a valid value

    Ex: LOVMAP1: lovregionitemid:give regionitemid lov

    ReturnItem:Give lov returnitemid

    criteriaitem:give lov criteriaitemid

    useforvalidation:Yes

    LOVMAP2: lovregionitemid:give regionitemid lov (SAME AS first lovmap)

    ReturnItem:Give dummy element point

    criteriaitem: NULL

    ReturnItem:default

    Thank you

    Deb

  • How to make the non selectable radio button field

    I want to UN selectable radio button field average user will be not be able to select. How can I achieve this. Please help me for this.

    You could remove them from the screen, or do unfocusable or make unmodifiable.  The choice will depend on what you're trying to reach.

Maybe you are looking for