Getting Started

 View Only
  • 1.  Drop down list blank

    Posted 03-27-2020 05:34
    I am developing a home page, one of fields is having drop down list with a specified list of values.
    When we go to edit page to feed values for this field we are seeing an extra blank option in the list.
    I need to have just the options i have specified in the list and get rid of this blank space there as an option.
    I verified and removed any blank space or extra new line in my list, but it gives still the same.
    Can someone please help me - how to remove these blank space.

    ------------------------------
    Rishabh Narula
    ------------------------------


  • 2.  RE: Drop down list blank

    Posted 03-27-2020 09:25
    On your field do you have it set to have a default value? If you pick a default value and also set the field as required then you will have no blank option, but the default value you set essentially becomes the new blank.

    If you set it as just required you will still have the blank but they will be forced to chose an option other than blank. Can you tell me why that causes an issue for you? Maybe there are other options or I am misunderstanding the problem.

    Also just to be more clear where is this happening at? A home page of the app or a table? Or is this on a form? Grid edit report maybe?


  • 3.  RE: Drop down list blank

    Posted 03-27-2020 11:21
    Hello Austin, Thank you for your response.
    I am trying to view and edit / feed value to this field from the Edit page.
    I have not provided any default value to the field and have provided a list of values to pick from for this drop down field.
    This field can not be placed as required as in my scenario i have multiple such fields and i am displaying them as and when needed.
    Issue is that i am seeing the list of values i provided for this field along with one more empty / blank option in the drop-down. I want to have just my values in there and no blank option.
    PFA

    ------------------------------
    Rishabh Narula
    ------------------------------



  • 4.  RE: Drop down list blank

    Posted 03-27-2020 12:35
    Edited by Austin K 03-27-2020 12:44
    Why is having a blank not acceptable in this case? I think that is my biggest question here. Is this just a visual issue that you dislike or is it causing you some problem? I am just trying to understand why you want it done this way so I can make sure you get a good solution or that someone can provide one.

    It should work fine if you require it via a form rule, the same rules that are showing and hiding fields or sections. Then you can show and require it in one rule when it is needed.

    If you require the field via form rules it will still show a blank but they will not be allowed to save with it as blank. It sounds like that would solve your issue but just not visually.


  • 5.  RE: Drop down list blank

    Posted 03-31-2020 02:03
    Hello Austin,

    Thank You for your response.
    Providing a blank as an option in the drop down i not desired as the functionality we are showing on the page suggest that the user must enter only the values we have specified in the drop down list, whereas the blank option there suggests otherwise, which simply means that it becomes inconsistent.
    The client wants us to remove that extra blank in drop-down without breaking the rest of the code.

    Best Regards,
    Rishabh Narula

    ------------------------------
    Rishabh Narula
    ------------------------------



  • 6.  RE: Drop down list blank

    Posted 07-07-2021 17:08
    I changed the field to a radio button field and this solved this issue for me

    ------------------------------
    Corin Reyes
    ------------------------------



  • 7.  RE: Drop down list blank

    Posted 06-22-2023 15:16

    I would create a dynamic form rule that says:
    When [Text - Multiple Choice field] is equal to ______

    Then require [Text - Multiple Choice field]

    and display a message: "Please select an item from the [Text - Multiple Choice field] before saving. Thank you.

     



    ------------------------------
    Shane Miller
    ------------------------------