Closed bjendres closed 5 years ago
This would be nice.
Detailed requirements (as discussed with @systopia):
Contact.getsingle
)hash
) is the only parameter@systopia This is available for real world testing in 7.x-0.7-alpha1.
Seems to work nicely so far - except for one crucial thing: It doesn't fill hidden fields. That would be very important if you want to e.g. fill and later submit the contact_id
, but prevent the user from injecting their own.
@jensschuppe: Could you have a look at this as soon as possible, please?
@systopia This should work with 1ae2466b5dbc6cd833639b94cdf754ee19088a99. "Hidden" components do not respect a #default_value
but need a #value
to be set (See Drupal Form API Reference for value
form elements)
The
7.x
modulecmrf_webform
should be able to pre-fill the form with data from CiviCRM, if it is called with a CiviCRM hash-token.