Default values overwrite updated values.

Created on 24 May 2024, about 1 month ago
Updated 18 June 2024, 11 days ago

Problem/Motivation

The forms_processor has the option to fill the default values in a form using the `Retrieval of Defaults` in the forms processor. Currently, it is also filling these defaults just before submitting. The effect is that is not possible to use the form as an update form.

Steps to reproduce

I have uploaded a zip file with two files

  • This is a form processor definition file. Use it to import a forms processor in your CiviCRM. Is a simple form processor for updating a contacts first and last name.
  • is a webform definition file. Change the connection to an existing connection your drupal install and create the webform.

Pick a contact in CiviCRM with contact id . Now call the form with ://form/myform?contact_id=. Update the contact, by changing one of the first name or the last name field. Send it to CiviCRM. The values in CiviCRM are not changed. But they should.

Proposed resolution

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Klaas Culemborg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024