Skip to content

Uses the Podio API to forward report a problem submission data to our issue queue app on Podio.com

License

Notifications You must be signed in to change notification settings

nu-lts/podio_webform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

podio_webform

Uses the Podio API to forward report a problem submission data to our issue queue app on Podio.com

components' => array(
      1 => array(
        'nid' => 190,
        'cid' => 1,
        'pid' => 0,
        'form_key' => 'first_name',
        'name' => 'First name',
        'type' => 'textfield',
        'value' => '',
        'extra' => array(
          'title_display' => 'inline',
          'private' => 0,
          'disabled' => 0,
          'unique' => 0,
          'maxlength' => 70,
          'conditional_operator' => '=',
          'width' => '',
          'field_prefix' => '',
          'field_suffix' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 0,
        'page_num' => 1,
      ),
      2 => array(
        'nid' => 190,
        'cid' => 2,
        'pid' => 0,
        'form_key' => 'last_name',
        'name' => 'Last name',
        'type' => 'textfield',
        'value' => '',
        'extra' => array(
          'title_display' => 'inline',
          'private' => 0,
          'disabled' => 0,
          'unique' => 0,
          'maxlength' => 70,
          'conditional_operator' => '=',
          'width' => '',
          'field_prefix' => '',
          'field_suffix' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 1,
        'page_num' => 1,
      ),
      3 => array(
        'nid' => 190,
        'cid' => 3,
        'pid' => 0,
        'form_key' => 'email',
        'name' => 'Email',
        'type' => 'email',
        'value' => '',
        'extra' => array(
          'title_display' => 'inline',
          'private' => 0,
          'disabled' => 0,
          'unique' => 0,
          'conditional_operator' => '=',
          'width' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 2,
        'page_num' => 1,
      ),
      4 => array(
        'nid' => 190,
        'cid' => 4,
        'pid' => 0,
        'form_key' => 'nu_affiliation',
        'name' => 'NU affiliation',
        'type' => 'select',
        'value' => 'undergraduate',
        'extra' => array(
          'items' => 'undergraduate|undergraduate
graduate|graduate student
faculty|faculty
staff_researcher|staff or researcher
alum|alumnus/a',
          'multiple' => 0,
          'title_display' => 'before',
          'private' => 0,
          'aslist' => 0,
          'optrand' => 0,
          'conditional_operator' => '=',
          'other_option' => NULL,
          'other_text' => 'Other...',
          'description' => '',
          'custom_keys' => FALSE,
          'options_source' => '',
          'conditional_component' => '',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 3,
        'page_num' => 1,
      ),
      5 => array(
        'nid' => 190,
        'cid' => 5,
        'pid' => 0,
        'form_key' => 'if_other_specify',
        'name' => 'If other, specify',
        'type' => 'textfield',
        'value' => '',
        'extra' => array(
          'title_display' => 'inline',
          'private' => 0,
          'disabled' => 0,
          'unique' => 0,
          'maxlength' => 20,
          'webform_conditional_field_value' => 'other',
          'webform_conditional_cid' => 4,
          'webform_conditional_operator' => '=',
          'width' => '',
          'field_prefix' => '',
          'field_suffix' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 4,
        'page_num' => 1,
      ),
      6 => array(
        'nid' => 190,
        'cid' => 6,
        'pid' => 0,
        'form_key' => 'database_resource_or_ejournal_youre_trying_to_connect_to',
        'name' => 'Database, resource or ejournal you\'re trying to connect to:',
        'type' => 'textfield',
        'value' => '%get[resource]',
        'extra' => array(
          'title_display' => 'before',
          'private' => 0,
          'width' => 100,
          'disabled' => 0,
          'unique' => 0,
          'maxlength' => 200,
          'field_prefix' => '',
          'field_suffix' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 5,
        'page_num' => 1,
      ),
      7 => array(
        'nid' => 190,
        'cid' => 7,
        'pid' => 0,
        'form_key' => 'type_of_problem',
        'name' => 'Type of problem',
        'type' => 'select',
        'value' => '',
        'extra' => array(
          'items' => 'getting|Getting in <em>(Example: cannot connect to a resource, login errors, browser errors)</em><br />
viewing|Viewing full text <em>(Example: the full article is unavailable, the link is broken, I\'m blocked from accessing the .pdf)</em><br />
other|Other',
          'multiple' => 0,
          'title_display' => 'before',
          'private' => 0,
          'aslist' => 0,
          'optrand' => 0,
          'other_option' => NULL,
          'other_text' => 'Other...',
          'description' => '',
          'custom_keys' => FALSE,
          'options_source' => '',
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 6,
        'page_num' => 1,
      ),
      16 => array(
        'nid' => 190,
        'cid' => 16,
        'pid' => 0,
        'form_key' => 'citation_or_details_of_the_article',
        'name' => 'Citation, DOI, or details of the article',
        'type' => 'textfield',
        'value' => '',
        'extra' => array(
          'title_display' => 'before',
          'private' => 0,
          'width' => 100,
          'disabled' => 0,
          'unique' => 0,
          'maxlength' => 500,
          'webform_conditional_field_value' => 'viewing',
          'webform_conditional_cid' => 7,
          'webform_conditional_operator' => '=',
          'field_prefix' => '',
          'field_suffix' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 7,
        'page_num' => 1,
      ),
      8 => array(
        'nid' => 190,
        'cid' => 8,
        'pid' => 0,
        'form_key' => 'describe_the_problem',
        'name' => 'Describe the problem',
        'type' => 'textarea',
        'value' => '',
        'extra' => array(
          'description' => '<em>include specific error message, URL, and/or article citation.</em>',
          'title_display' => 0,
          'private' => 0,
          'rows' => 7,
          'resizable' => 1,
          'disabled' => 0,
          'cols' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 8,
        'page_num' => 1,
      ),
      9 => array(
        'nid' => 190,
        'cid' => 9,
        'pid' => 0,
        'form_key' => 'upload_a_screenshot_optional',
        'name' => 'Upload a screenshot (optional)',
        'type' => 'file',
        'value' => '',
        'extra' => array(
          'title_display' => 'before',
          'private' => 0,
          'width' => 50,
          'filtering' => array(
            'types' => array(
              0 => 'gif',
              1 => 'jpg',
              2 => 'png',
              3 => 'bmp',
              4 => 'pdf',
              5 => 'doc',
            ),
            'addextensions' => '',
            'size' => '800 KB',
          ),
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
          'directory' => 'report_a_problem',
          'scheme' => 'public',
          'progress_indicator' => 'throbber',
        ),
        'mandatory' => 0,
        'weight' => 9,
        'page_num' => 1,
      ),
      10 => array(
        'nid' => 190,
        'cid' => 10,
        'pid' => 0,
        'form_key' => 'my_location',
        'name' => 'My location',
        'type' => 'select',
        'value' => 'on',
        'extra' => array(
          'items' => 'on|on campus using Resnet or NUNet
off|off campus',
          'multiple' => 0,
          'title_display' => 'before',
          'private' => 0,
          'aslist' => 0,
          'optrand' => 0,
          'other_option' => NULL,
          'other_text' => 'Other...',
          'description' => '',
          'custom_keys' => FALSE,
          'options_source' => '',
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 10,
        'page_num' => 1,
      ),
      11 => array(
        'nid' => 190,
        'cid' => 11,
        'pid' => 0,
        'form_key' => 'browser',
        'name' => 'Browser',
        'type' => 'select',
        'value' => '',
        'extra' => array(
          'items' => 'ie|internet explorer
firefox|firefox
chrome|chrome
safari|safari
safari_mobile|safari (mobile)
other|other',
          'other_option' => 0,
          'other_text' => 'Other...',
          'multiple' => 1,
          'title_display' => 'before',
          'private' => 0,
          'aslist' => 0,
          'optrand' => 0,
          'description' => '',
          'custom_keys' => FALSE,
          'options_source' => '',
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 11,
        'page_num' => 1,
      ),
      12 => array(
        'nid' => 190,
        'cid' => 12,
        'pid' => 0,
        'form_key' => 'if_other_specify2',
        'name' => 'If other, specify',
        'type' => 'textfield',
        'value' => '',
        'extra' => array(
          'title_display' => 'inline',
          'private' => 0,
          'disabled' => 0,
          'unique' => 0,
          'maxlength' => 20,
          'webform_conditional_field_value' => 'other',
          'webform_conditional_cid' => 11,
          'webform_conditional_operator' => '=',
          'width' => '',
          'field_prefix' => '',
          'field_suffix' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 12,
        'page_num' => 1,
      ),
      13 => array(
        'nid' => 190,
        'cid' => 13,
        'pid' => 0,
        'form_key' => 'operating_system',
        'name' => 'Operating system',
        'type' => 'select',
        'value' => '',
        'extra' => array(
          'items' => 'window|Windows
macosx|MacOSX
linux|Linux
android|Android
ios|iOS
other|other',
          'other_option' => 0,
          'other_text' => 'Other...',
          'multiple' => 1,
          'title_display' => 'before',
          'private' => 0,
          'aslist' => 0,
          'optrand' => 0,
          'description' => '',
          'custom_keys' => FALSE,
          'options_source' => '',
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 13,
        'page_num' => 1,
      ),
      14 => array(
        'nid' => 190,
        'cid' => 14,
        'pid' => 0,
        'form_key' => 'if_other_specify3',
        'name' => 'If other, specify',
        'type' => 'textfield',
        'value' => '',
        'extra' => array(
          'title_display' => 'inline',
          'private' => 0,
          'disabled' => 0,
          'unique' => 0,
          'maxlength' => 20,
          'webform_conditional_field_value' => 'other',
          'webform_conditional_cid' => 13,
          'webform_conditional_operator' => '=',
          'width' => '',
          'field_prefix' => '',
          'field_suffix' => '',
          'description' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 1,
        'weight' => 14,
        'page_num' => 1,
      ),
      17 => array(
        'nid' => 190,
        'cid' => 17,
        'pid' => 0,
        'form_key' => 'type_of_problem_reported',
        'name' => 'Type of problem reported (internal use)',
        'type' => 'select',
        'value' => '',
        'extra' => array(
          'items' => 'no_full_text|Full text does not download/display
holdings_error|Holdings indicate full text is available but it is not
link_resolver|Link resolver failure
proxy_error|Proxy server error
cannot_find_way_to_full_text|User cannot find the way to full text
user_login|User login problem
other|Other ',
          'multiple' => 1,
          'title_display' => 'before',
          'private' => 1,
          'aslist' => 0,
          'optrand' => 0,
          'other_option' => NULL,
          'other_text' => 'Other...',
          'description' => '',
          'custom_keys' => FALSE,
          'options_source' => '',
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 0,
        'weight' => 15,
        'page_num' => 1,
      ),
      18 => array(
        'nid' => 190,
        'cid' => 18,
        'pid' => 0,
        'form_key' => 'diagnosis_and_action_taken',
        'name' => 'Diagnosis and action taken (internal use)',
        'type' => 'select',
        'value' => '',
        'extra' => array(
          'items' => 'adjusted_interface|Adjusted interface or database settings
corrected_holdings|Corrected holdings information
emailed_pdf|Emailed PDF to user
corrected_proxy|Proxy settings corrected
restarted_proxy|Proxy restarted
referred_within_library|Referred to library department: access services,  interlibrary loan, metadata management
referred_outside_library|Referred outside library: vendor, TDNet, NU IS
suggested_another_browser|Suggested another browser or user\'s browser not supported
suggested_software|Suggested other software (ie Shubert, Adobe Digital Editions)
unable_to_replicate|Unable to replicate
other|Other',
          'multiple' => 1,
          'title_display' => 'before',
          'private' => 1,
          'aslist' => 0,
          'optrand' => 0,
          'other_option' => NULL,
          'other_text' => 'Other...',
          'description' => '',
          'custom_keys' => FALSE,
          'options_source' => '',
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 0,
        'weight' => 16,
        'page_num' => 1,
      ),
      15 => array(
        'nid' => 190,
        'cid' => 15,
        'pid' => 0,
        'form_key' => 'notes_text',
        'name' => 'Notes (internal use)',
        'type' => 'textarea',
        'value' => '',
        'extra' => array(
          'description' => 'briefly note what action has been taken to reply to this question',
          'title_display' => 0,
          'private' => 1,
          'rows' => 7,
          'resizable' => 1,
          'disabled' => 0,
          'cols' => '',
          'attributes' => array(),
          'conditional_component' => '',
          'conditional_operator' => '=',
          'conditional_values' => '',
        ),
        'mandatory' => 0,
        'weight' => 17,
        'page_num' => 1,
      ),
    ),

About

Uses the Podio API to forward report a problem submission data to our issue queue app on Podio.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages