[Date Prev] [Date Next] [Prev in Thread] [Next in Thread] [Date Index] [Thread Index]

Re: How to set timezone offset from browser using javascript?



Hi Lyndsay, just also thought to mention you do not need to use a Set Fields action for this ...
In your active link, instead use a Run Process action - the javascript function will set your field (example fieldid 880880801).

So the Run Process would simply be: 
  javascript: document.getElementById('arid_WIN_0_880880801').value = new Date().getTimezoneOffset();

-Jim

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"