Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $form['wrapper']['right']['packaging_wrapper']['no_contacts_flag'] = [
- '#title' => t('Connector required to deliver', [], ['context' => DEFAULT_COMMON_T_OTHER]),
- '#type' => 'radios',
- '#attributes' => [
- 'class' => ['inline-radios'],
- ],
- '#prefix' => '<div id="pkgcontainer">',
- '#suffix' => '</div>',
- '#options' => [
- 'with_contacts' => t('With Contacts', [], ['context' => DEFAULT_COMMON_T_OTHER]),
- 'without_contacts' => t('Without Contacts', [], ['context' => DEFAULT_COMMON_T_OTHER]),
- ],
- '#default_value' => 'without_contacts',
- '#ajax' => [
- 'event' => 'change',
- 'callback' => 'load_default_callback',
- 'effect' => 'fade',
- ],
- '#required' => TRUE,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement