2

I received a survey titled 'civiCRM survey 2016' with my first name, last name and email fields pre-filled and not editable. How did you achieve this? Are you using the no-overwrite extension or webforms disabled fields also work when using the civiCRM checksum?

2

That survey uses a Webform-civicrm form. The 'existing contact' field has had 'Field Locking' applied to the Name and Email fields (first time i saw this feature - nice addition!).

if you want to achieve the same directly in civicrm profile when you add a field to the profile you have the option to set it to read-only.

ADDENDUM: Nathan below comments that "I believe this is available in Webform CiviCRM 7.x-4.15 based on the notes and code in the change comparison listed here: github.com/colemanw/webform_civicrm/compare/7.x-4.14...7.x-4.15"

  • Hi Pete, are you talking about the disabled checkbox (Make this field non-editable. Useful for setting an unchangeable default value) on the civi webform fields components? – Kboy Jan 14 '16 at 23:10
  • nope. i am referring specifically to a 'field locking' option, which I have not seen before but was what was in use on that form on civi site (i have edit access hence dug in to the form to see how he had done it) – petednz - fuzion Jan 15 '16 at 3:31
  • Can you tell me where this 'field locking' option is located? I don't seem to find it when the existing contact field is enabled and even when i click on edit i see other options and not the 'field locking'. I am using civi webform 7.4.14 – Kboy Jan 15 '16 at 7:08
  • Could this field locking be done by the drupal module drupal.org/project/webform_locked_fields ? – Andy Clark Jan 17 '16 at 13:36
  • 1
    Just to add to this, and to answer @AndyClark above (if you haven't already found the answer). I believe this is available in Webform CiviCRM 7.x-4.15 based on the notes and code in the change comparison listed here: github.com/colemanw/webform_civicrm/compare/7.x-4.14...7.x-4.15 However, I have yet to try this. – NathanB Mar 8 '16 at 16:34

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.