I am working with a Custom Lists. There is a workflow associated with the list.

Now I want to be able to dynamically show input fields to the user based on the choices (drop down menu) they make in a pervious field.

What would be the approach? Can this be done in SharePoint Designer?

Many thanks.



You can inject JavaScript to show/hide fields on Default List Forms or Workflow forms, refer to following links:
SharePoint Form Dynamic Field Hide or Reveal Using JavaScript
Hiding SharePoint Fields Using jQuery

But instead of JavaScript it is more accurate to use InfoPath forms for your Workflows/List Forms! In InfoPath its quite easy to show/hide fields using Rules. But InfoPath forms are only available in Enterprise version of SharePoint, since you haven't mentioned which version you are using!

I hope this helps

| improve this answer | |
  • I wouldn't term client side hide/reveal as a JavaScript "hack". It's the defacto method for that type of operation. Infopath uses JavaScript on the client side anyway. – Paul Leigh Aug 28 '13 at 9:02
  • I called them hacks because the field names are not definite, and they are getting the fields from their css/identifier and not by ID.. Seems to me like a hack, InfoPath may use JavaScript but it knows about the controls and it obviously a better way! – Arsalan Adam Khatri Aug 28 '13 at 10:06
  • The internal field names are definite and are always output to comments in the form. You use the markup identifiers to hide a TR, not the element itself and its completely repeatable. – Paul Leigh Aug 28 '13 at 10:45
  • 1
    @PaulLeigh removed the word "hack" from my answer. Happy? :) Still I prefer InfoPath over injecting JavaScript on list/workflow forms! – Arsalan Adam Khatri Aug 28 '13 at 11:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.