Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The data example below updates the core enrollment bundlea custom set titled "Marketing Questions", which contains a text field, and has a machine name of marketing_questions.

Code Block
$data = array(
 'nid' => 300,
 'uid' => 200,
 'enrollmenttype' => 'webservice_call', // This is used to identify the source of the enrollment. Only use letters, numbers, and underscores.
 'type' => 'coursemarketing_enrollmentquestions', // This is the key of the enrollment question set. Only use letters, numbers, and underscores.
 'status' => 1,
 'field_textbox'=> 'ETHOSCE123',
 );

...