Problem/Motivation

Default data is not working for custom webform fields

Steps to reproduce...

  • Goto the 'Page' content type (/admin/structure/types/manage/page/fields)
  • Add 'Webform' field (ie field_webform)
  • Create a new Page (/node/add/page)
  • Select 'Contact' form
  • Enter name: Test as the 'Default data'
  • Click 'Save and publish'
  • The 'Contact' form will be displayed without the 'Name' set to 'Test'

Proposed resolution

Allow custom webform fields to populate default data.

Comments

jrockowitz created an issue. See original summary.

  • 2cfa54d committed on 2841583-custom-field-default-data
    Issue #2841583: Default data is not working for custom webform fields
    
jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new5.97 KB

Status: Needs review » Needs work

The last submitted patch, 3: default_data_is_not-2841583-2.patch, failed testing.

  • c58ac82 committed on 2841583-custom-field-default-data
    Issue #2841583: Default data is not working for custom webform fields
    
jrockowitz’s picture

Status: Needs work » Needs review
StatusFileSize
new5.92 KB

  • 828fee7 committed on 8.x-5.x
    Issue #2841583 by jrockowitz: Default data is not working for custom...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.