Skip to main content
Dynamics 365 general forum
Suggested answer

File Field Disabled first showup

editSubscribe (0) ShareShare
ReportReport
Posted on by 162

Experts,

Just run into a weird thing, not sure by design or something ...

I have a file field, i.e. that field end users can upload a file, which is hidden by default.

When a toggle is set to yes, the field will show, and it is working that way.

However, the field is showing as disable, i.e. end users cannot click.

When I scroll up or scroll down, or click another tab and then click back (that form has multiple tabs), the file field become enabled.

After that everything is working as it should be; toggle button to yes, no, the file field show / hide, when show up it is always enabled.

Any suggestions?

Thanks a million!

Ning  

Attachments
  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: File Field Disabled first showup

    Hi Ning Zhu,

    It's a really weird thing. I tested this on my side and it could work fine.

    You would better raise a ticket to contact Microsoft.

  • Ning Zhu Profile Picture
    Ning Zhu 162 on at
    RE: File Field Disabled first showup

    setVisible(true/false) would only show/hide this field. -- Exactly, so we do not really understand why the field is showing as disabled for the very first time.  

    Also, we figured out, it is not click or scroll to make the field enabled, but simply waiting for some random time it will become enabled (from several seconds to one minute).

    After the first time, it is enabled, then next time it will be displayed as enabled immediately.

    Yes, we only toggle for that field on edit form, for the new form, you do not see those fields at all.

  • Suggested answer
    Community Member Profile Picture
    Community Member UG Leader on at
    RE: File Field Disabled first showup

    Hi Ning Zhu,

    setVisible(true/false) would only show/hide this field. It would make the field disabled. Did you use the setDisabled() function?

    And when your record is creating, the file field would be disabled.

    pastedimage1663132776281v1.png

    After this record is created, this field would be enabled.

  • Ning Zhu Profile Picture
    Ning Zhu 162 on at
    RE: File Field Disabled first showup

    JS to hide and show, setVisible(true/false) ...

  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: File Field Disabled first showup

    Hi Ning Zhu,

    Could you tell us which way you used to hide the file field, Business Rule, JS or something else?

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,126 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,646 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans