DavidLozzi / SharePoint-HideDisableFields

Lightweight JavaScript file to easily hide or disable fields on a SharePoint classic list form
MIT License
9 stars 4 forks source link

Adding Default user for People Picker #4

Open sharvancik opened 4 years ago

sharvancik commented 4 years ago

Is your feature request related to a problem? Please describe. Defaults for some fields are very changeling and require code. Defaulting a people-picker to the current user is a common default and is a lot of work to code each time.

Describe the solution you'd like

Describe alternatives you've considered Currently, I hard-code all of this either with JavaScript or use a workflow in getting the values.

Additional context

DavidLozzi commented 4 years ago

Great idea! Do you have a code sample @sharvancik of setting a person field to current user? If so, I can plug it in. if not, I can google ;)

sharvancik commented 4 years ago

On Tue, Oct 8, 2019 at 12:13 PM David Lozzi notifications@github.com wrote:

Great idea! Do you have a code sample @sharvancik https://github.com/sharvancik of setting a person field to current user? If so, I can plug it in. if not, I can google ;)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DavidLozzi/SharePoint-HideDisableFields/issues/4?email_source=notifications&email_token=AIFS7IMYTDTTL5T6WKWVUY3QNS5UHA5CNFSM4I6KG452YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAU5QHQ#issuecomment-539613214, or mute the thread https://github.com/notifications/unsubscribe-auth/AIFS7IOG3JVHNA7452MS7Q3QNS5UHANCNFSM4I6KG45Q .

-- Steve sharvancik@yahoo.com