Closed (outdated)
Project:
Job Posting
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2010 at 09:09 UTC
Updated:
14 Jun 2021 at 20:31 UTC
Jump to comment: Most recent
Comments
Comment #1
ivan zugec commentedHi waatih,
Try this:
Check out the docs.
http://api.drupal.org/api/drupal/developer--topics--forms_api_reference....
Comment #2
waatih commentedThanks Ivan
Unfortuntly i am getting a black screen after i add the code you gave me to try. i dont know how the developer of this module coded the module but it seems to refuse to show the select options using the normal select php codes
Comment #3
waatih commentedFor his other select options he used this code
);
$form['required']['gender']['gender'] = array(
'#type' => 'select',
'#title' => t('Gender'),
'#description' => t('Select your Gender'),
'#required' => TRUE,
'#options' => $Gender,
'#default_value' => $node->job_posting_cid ? $node->job_posting_cid : 0,
'#weight' => -4,
Comment #4
avpadernoI am closing this issue, as it's for a not supported project version.