Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $form['field_consumer_name']['widget'][0]['#title'] = 'Individual Name';
- function referral_q_form_contact_message_referral_form_form_alter(&$form, DrupalCoreFormFormStateInterface $form_state ) {
- // print_r($form['field_consumer_name']['widget'][0]['#title']);
- $form['field_consumer_name']['widget'][0]['#title'] = 'Consumer Name Works';
- $form['#prefix'] = '<div class="referral-container">';
- $form['field_consumer_name']['widget'][0]['#title'] = 'Individual Name';
- $form['field_referral_date']['widget'][0]['#title'] = 'Date';
- $form['field_diagnostic_code_1']['widget'][0]['#title'] = 'Diagnostic Code';
- _referral_q_remove_radio_na($form['field_veteran']);
- $form['#suffix'] = '</div>';
- }
- $form['field_consumer_name']['widget'][0]['value']['#title'] = 'Individual Name';
Add Comment
Please, Sign In to add comment