Disable text box on selecting a checkbox of multiple selection lookup field in infopath 2010

Hi
In edit mode of the form,
We have added one field in infopath which is lookup column and shows multiple selection chekboxes.
One of the option from that lookup checkbox list is "Other".
There is one textbox field which will be disabled by default.
We want to enable this text box on selection of "Other" from lookup field checkbox list.
Is it possible?
if yes how can we do this?

Hi Vyanky, I don't believe that's possible without some major functionality. The problem, as you probably know, is that it's a lookup with checkboxes. If it was added directly in InfoPath, then it wouldn't be an issue. You should consider adding "Other"
as a separate yes/no field instead. That way you'll be able to add an action rule to it to enable the text box.
cameron rautmann

Similar Messages

  • Disable text Box On Selection screen

    hello guys,
    I am making a selection screen report in which i want to disable the text box , when i am selecting a particular radio button.
    Kindly, let me know how to do the same.
    Thanks &  regards.
    Kirtish

    hi kirtish
    if u want to disable the text box on the screen, u need to use the screen table. 
    see. All fields of the current screen are stored in the system table SCREEN with their attributes.
    so when u click on the any element of the screen the sceen table is looped through.
    use the following code in at selection screen output .
    put the name of the text box in the
    ex:
    LOOP AT SCREEN.
    IF SCREEN-NAME = <FIRST RADIO BUTTON>
    (IF p_r1 = 'X'. say p_r1 is your radio button name)
    LOOP AT SCREEN.
    IF SCREEN-NAME = <text box>
    SCREEN-INPUT = OFF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    in case of query please reply.
    award if useful
    Varun

  • Diplay Text in Text Box in selection Screen

    Hi Experts i want to display text in text box in selection screen like
    Personnal Number
    Display in text box and disable................please help me
    Edited by: BFawad26 on Jun 21, 2010 9:46 AM

    Hi,
    You mean to say parameter in selection screen
    Just press F1 on parameter you will get all the option available for the parameter
    for defaulting text just give your text in DEFAULT option for the parametr
    And for disabling this checkbox you can explore the LOOP AT SCREEN concept
    In at selection screen output event you can modify the selection screen.just give one modif id for your
    paramete and use this at selection screen output event , loop at screen and modify screen with the screen input = 0
    for ur parameter.
    Thanx
    Edited by: PawanG on Jun 21, 2010 9:51 AM

  • Gray out or disable text box

    Hi,
         I have a drop down menu called CN_Entry_Initials that has options of a "C" or an "N". I also have a text box called Part_Number to enter a part number into. I want the Part Number text box to be grayed out or disabled until either a "C" or an "N" has been chosen out of the CN_Entry_Initials drop down menu. I have this working, except that I cannot get the Add button to do anything. I think it’s something to do with the way I have the If statement for this disabled text box, or do I have to change the button to a submit button. Does anyone know how to fix this? Below is the javascript and the drop down menu and text box code along with the Add or submit button. There is extra stuff in the Javascript that I have on the page, but I don't need to worry about those things since they are working correctly. I have the disabled text box code at the top of the javascript under the function verify() code. Thanks.
    <SCRIPT LANGUAGE="JavaScript">
    <!-- Original:  Wayne Nolting ([email protected]) -->
    <!-- This script and many more are available free online at -->
    <!-- Begin
    function verify()
    if (document.getElementById('CN_Entry_Initials').value == "C"
    || document.getElementById('CN_Entry_Initials').value == "N")
        document.getElementById('Part_Number').disabled = false;
    else
        document.getElementById('Part_Number').disabled = true;
    var PartNum=document.AddECNumber.Part_Number.value;
    var regularExpression = new RegExp(/[cC][0-9]/); //regular expression to check for a letter C followed by a number
    if(regularExpression.test(PartNum)&& document.AddECNumber.CN_Entry_Initials.value == "N" && document.AddECNumber.Validation_Qty.value == "") { //this will return true if the input passes the regular expression
    alert("Enter a Validation Quantity for this new Custom");
    else if(document.AddECNumber.CN_Entry_Initials.value == "N" && document.AddECNumber.P_Drive_Docs_Initials.value == "i") { //this will return true if the input passes the regular expression
    alert("You cannot select 'i' for docs to be removed for a new part");
    else if(document.AddECNumber.CN_Entry_Initials.value == ""  && document.AddECNumber.SW_Model_Only.value == "0") { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (N)ew or (C)hange for eco line item");
    else if(document.AddECNumber.PNR_BOM_Change_Only.value == "1" && document.AddECNumber.CN_Entry_Initials.value != "C" && (document.AddECNumber.Release_Status_Initials.value == "U"
    || document.AddECNumber.Release_Status_Initials.value == "N")) { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (C)hange for eco line item and Select N for Release Status if PNR/BOM Change Only is yes");
    else if(document.AddECNumber.PNR_BOM_Change_Only.value == "1" && document.AddECNumber.CN_Entry_Initials.value == "C" && document.AddECNumber.Release_Status_Initials.value == "U") { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (C)hange for eco line item and Select N for Release Status if PNR/BOM Change Only is yes");
    else if(document.AddECNumber.Doc_Changes_Only.value == "1" && document.AddECNumber.CN_Entry_Initials.value != "C") { //this will return true if the input passes the regular expression
    alert("ECO type required - Select (C)hange for eco line item since Doc Changes Only is yes");
    <!--- else if (document.AddECNumber.P_Drive_Docs_Initials.value == "i")
    // self.location='eco_search.cfm'; --->
    else
    document.AddECNumber.submit();
    //  End -->
    </script>
    <cfform name="AddECNumber" action="add_new_ec_number_action.cfm" method="post">
    <tr>
    <td class="edit" align="right">Change or new entry:</td>
    <td>
              <select name="CN_Entry_Initials" id="CN_Entry_Initials" onchange="verify();">
                <option value="">Select</option>
    <!--------- POPULATE SELECT BOX WITH P_Drive_Docs_Initials FIELDS --------->
                <CFOUTPUT QUERY="ShowCNEntryInitials">
                <option value="#CN_Entry_Initials#">#CN_Entry_Initials#
                </CFOUTPUT>
              </select>
    </td>
    </tr>
    <tr>
    <td class="edit" align="right" valign="middle">Part Number:<br><h6>(Limit to 25 characters)</h6></td>
    <td><input type="text" name="Part_Number" id="Part_Number" maxlength="25" size="27" disabled="disabled"></td>
    <td><textarea name="Description" cols="30" rows="3"></textarea></td>
    </tr>
    <input type="button" value="Add" onclick="verify();">
    </cfform>
    Thanks.
    Andy

    I don't understand about using the alert box to output the variables. I know that everything was working with alert boxes, etc. before I added the code for the disable text box code. The difference I see is on the disable text box code I use document.getElementById and on the other code I use document.AddECNumber. Could this cause the Add button to not work? If so, how do I change this code to make it work? I tried just changing it be like the document.AddECNumber code, but that didn't work.
    Andy

  • Regarding text box in selection screen

    Hi all,
    Can i know how we can implement a text with scroll bars so that user can enter a data of about 2000 characters with paragraph indent. also this needs to be done on the selection screen of PNP logical database.
    Please let me know if this can be done.
    Thanks.
    Harshad.

    Hi Harshad,
    [text box in the selection screen|Text box on selection screen]
    Thanks!

  • How to get the text boxes and select lists dynamically?

    Hi,
    I have a requirement such that I need to create the text boxes and select lists depending on the user input at the run time. It means that if the user requires four text boxes/select lists then I need to have 4 such thing. If the user need 6 then I need to have 6.
    The design may be such that initially only one text box/select list will be available when the page launches. Then as ad when the user asks for more those will be available to the user accordingly.
    regards,
    Dipankar.

    You can use Ajax to call textboxes and select list based on what user enters.
    Otherwise make those items conditional and based on what user enters you can display textbox or select list.
    You can call Single Textbox and Select List using Ajax for any number of conditions.
    Regards
    Chandra

  • Parallel text box in selection screen

    Hi all,
    Can anyone please tell me that how can i create parallel text boxes in selection screen?
    Exa : Company code    <Input box>                        Date       <Input box>
             Pers No.              <Input box>                    Cust No. <Input box>
    Regards.

    hi,
    Use COMMENT and POSITION statements in selcection-screen to achieve the same.

  • How to set up rules/conditions on a drop down box to ensure its been filled if a value in a text box is selected.

    Hi, I am in midst of creating a form in infopath. I have a text box field in which the user will enter the number of issues he has. if the user has entered the number of issues he has, then he will need to select the type of issues from a multi selection
    box. Thus i need to know how to set up rules/conditions to ensure that the user has to complete the multi selection box if he enters a value in text box for the number of issues. 

    I assume what you are asking is to make multi selection box as mandatory. If not please explain with a example
    Try below:
    http://webcache.googleusercontent.com/search?q=cache:ItIYeZ8K2gEJ:sharepointkings.blogspot.com/2013/06/make-multi-select-list-box-required-in.html+&cd=4&hl=en&ct=clnk&gl=in&client=firefox-beta
    If this helped you resolve your issue, please mark it Answered

  • How to populate multiple text boxes by selecting a value from drop down

    I apologize in advance if this is redundant, but I have searched this forum relentlessly to no avail. I have a form  connected to an MS Access database. The database is linked to another datadase on an Advantage server. This is dynamic data that has an ODBC driver allowing to link access tables to the Advantage data. Macros on access updates the table being used on this form. The livecycle form connects to the access data via a DSN on a machine that uses acrobat (not reader). This is a physician office, this form should expedite ordering radiology tests on patients. The plan is to use a drop down to select a chart number that will trigger several text boxes to populate dynamically with the corresponding demographic values like name, age, insurance etc.
    Using a data drop down I am able to select the chart number. When I used the example from the office supplies database, so that a button will trigger the event with the following code:
    if (Len(Ltrim(Rtrim(SelectField.rawValue))) > 0) then
    $sourceSet.DataConnection.#command.query.commandType = "text"
    $sourceSet.DataConnection.#command.query.select.nodes. 
    item(0).value = Concat("Select * from OfficeSupplies Where ID = ", Ltrim(Rtrim(SelectField.rawValue)) ,"") 
    I recieve a syntax error, despite adjusting quotation since I am using text rather than numeric fields.
    My question is the following:
    Is there a simple javascript that I can use to populate these text boxes (which may be read only but would be better if it allows user input)? Or does anyone recommend an alternative method? I would be happy with a link that solves this problem if someone can provide. I am somewhat familiar with js but open to any suggesstion.
    Thanks
    PS this form could also be linked to a Sequel database if that offers an advantage.

    The View object API has a setQurery() method that you can use to set the query as needed before executing it via executeQuery(). You can do this in a custom Application Module method exposed to its client interface and bound to the binding layer. You can call this method from your backing bean on a value change listener.

  • Long Text box in Selection Screen

    Hi,
    How to create a long text box in the selection screen.
    Is there any example/demo program in standard??
    Regards
    Jiku.

    erm, what do you want to achieve with this?
    should your users be able to search for long texts?
    That will probably fail since there are differences between the input and the long text you are searching for.
    Or do you have users making no faults?

  • Text Box in Selection Screen

    Hi All,
    Is it Possible to provide a text box in the selection screen?
    My requirement is user needs to enter a paragraph in the selection screen and this should be displayed in the form.
    Note : Individual text fields are not required.
    Thanks
    parthi.

    Hi,
    Designe a screen in SE 51 and call that screen in your report program.
    To create a textbox in module pool look at [this|Custom Container in module pool program]
    Thanks,
    Sri.

  • How to change the Label of input text box after selecting a value in LOV.

    Hi All,
    I have a requirement that after selecting a value in LOV the Label of the next input text box should change accordingly.
    I am able to do cascading LOV's.
    how can i meet this requirement?
    TIA,
    Vishal

    Sample:
    JSPX Page:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.FirstName.inputValue}"
    label="#{bindings.FirstName.hints.label}"
    required="#{bindings.FirstName.hints.mandatory}"
    columns="#{bindings.FirstName.hints.displayWidth}"
    maximumLength="#{bindings.FirstName.hints.precision}"
    shortDesc="#{bindings.FirstName.hints.tooltip}"
    id="it1" *binding="#{ForumSampleBean.inputText}"*
    *partialTriggers="departmentIdId">*
    <f:validator binding="#{bindings.FirstName.validator}"/>
    </af:inputText>
    <af:inputComboboxListOfValues id="departmentIdId"
    popupTitle="Search and Select: #{bindings.DepartmentId.hints.label}"
    value="#{bindings.DepartmentId.inputValue}"
    label="#{bindings.DepartmentId.hints.label}"
    model="#{bindings.DepartmentId.listOfValuesModel}"
    required="#{bindings.DepartmentId.hints.mandatory}"
    columns="#{bindings.DepartmentId.hints.displayWidth}"
    shortDesc="#{bindings.DepartmentId.hints.tooltip}"
    *autoSubmit="true"*
    *immediate="true"*
    *valueChangeListener="#{ForumSampleBean.lovValueChangeListener}">*
    <f:validator binding="#{bindings.DepartmentId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.DepartmentId.format}"/>
    </af:inputComboboxListOfValues>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *Managed Bean:*
    public class ForumSampleBean {
    private RichInputText inputText;
    public ForumSampleBean() {
    super();
    public void setInputText(RichInputText inputText) {
    this.inputText = inputText;
    public RichInputText getInputText() {
    return inputText;
    public void lovValueChangeListener(ValueChangeEvent valueChangeEvent) {
    *this.inputText.setLabel("New Label");*
    Thanks,
    Navaneeth

  • URGENT!!! How can I disable text boxes in JSP / Java Script??

    Hi! Hope you can help me with this one. It's kinda am having difficulty disabling / enabling text boxes in my JSP or JavaScript code. How can I do this? thanks a lot in advance...GOD BLESS!!

    I'm not really sure with Netscape browsers but with IE 4.0 and above there are two properties you can add to the <input> tag. They are Disabled and Readonly:
    <INPUT TYPE="text" VALUE="testing" DISABLED />
    <INPUT TYPE="text" VALUE="testing" READONLY />

  • Can't format text when entire text box is selected

    I'm having trouble with text formatting. I have a document in which I can't format text at all if the entire box is selected; all formatting menus are grayed out. (I can format text if individual lines are highlighted using the cursor.) I've tried resetting preferences and resaving the document using IDML. If it matters, I'm using OSX Mavericks, iD CS6, and the Suitcase Fusion extension. Can anyone help?

    Are selecting the text, or the frame? If the latter, you can only format text when selecting the frame if it isn't threaded to other frames. For the former, turn off suitcase, to start, and if that doesn't change things see Replace Your Preferences

  • Select MULTIPLE default values for a multiple selection list box based on another field in Infopath 2010

    Hello there - Before I explain my issue, I would like to point out that I have reviewed some other discussions on selecting default values for multiple selection listbox. But my issue is specific and different, and not answered by any of the discussions
    I visited.
    I have a multiple selection list box (say for example all countries in the world as values), and I would like to pre-select or setup multiple default values (say five countries) based on some criteria that I query from MS SQL database table.
    I know we can go to Data | Default Values option to setup one or many default values for multiple selection list box. When I enter the default values manually this works. I also right click the field under the Multiple-Selection List Box group, then select
    Add another Value Below and set the Default Value for this field to setup multiple default values.
    However, if I reference a field (either an infopath field or a field from SQL database) I am not able to setup multiple default values. Infopath automatically selects the last field I selected for all instances and in the end I am able to see only one
    default value selected instead of many. How to fix this problem? Why would infopath allow multiple default values when we enter it manually but not when we reference some fields?
    Please let me know if you need more info. Appreciate your help.
    Thanks!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Can I make a DVD from the iMovie I just created?

    Hello! Hey, nothing like last minute but I created a movie using still photos and music in iMovie. Not one problem, went without a hitch. However, I want to put this in a DVD to watch on my TV tomorrow morning....it's a Christmas gift for my husband

  • Changing menu view settings

    Hi, I want to buy the apple tv, but I need to know first can I change the view mode like I can in itunes. This is an important issue for me and definatly will effect my buying decision because I have photo sensitive epilipsy and icons moving across t

  • Did I already ruin my 10hr old Macbook Pro?

    Hello all, I just purchased my first Mac today at my local Apple store. I purchased the 2.4GHz Macbook Pro and everything was pretty standard. I did not upgrade the memory or hard drive just left it as is for my needs. The mac has been working perfec

  • Tried Design Premium CS 5.5. Lost Acrobat 8 from CS3.

    I have Design Premium CS3 for Windows. I installed the trial version of CS 5.5. Now that I have uninstalled it, I do not have Acrobat 8 (professional) anymore. I need it (at least until I am able to update to CS 5.5). What can I do short of reinstall

  • Out bound proxy query.

    Hi all, I am a ABAP -er. I am facing one issue . Scenario : When ever user create some Business partner or change some Bp , that thing will trigger in GIS system through PI. We developed proxy & outbound proxy program . It is working fine after runni