I try to pass a date from a web2lead form to a date field, but the field stays empty.

Travel date in: <span class="dateInput dateOnlyInput">
 <input  id="00N1t00000K2yXV" name="00N1t00000K2yXV" size="12" type="date" />

As mentioned in the documentation:

The format for date and currency fields captured online is taken from your organization’s default settings - Default Locale and Currency Locale.

Make sure you're using the same format as your org (e.g. if using US, it would be 1/31/2019, other places would be 2019.01.31 or some other format).

| improve this answer | |
  • 1
    When using the date field this already uses the same format but this still does not update/fills the fields – Thomas Jan 31 '19 at 16:19
  • @Thomas Again, double-check your locale. It's been a while since I've used w2l personally, but I've never had an issue with it. – sfdcfox Jan 31 '19 at 17:00

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.