Display OR between two fileds in a content type I have two fields in a content type. one is file upload field. another one is link field.
Customer can either upload file or give the url to the field.

so I want to display "(OR)" between these two fields in content type. 

How this can be achieved.
If you simply want to display "(OR)" between  two fields in content type, you can achieve this in form alter

function modulename_form_alter(&amp;$form, &amp;$form_state, $form_id) {

    if ($form['#id'] == 'page-node-form'){ //contenttype-node-form

   $form['field_test']['#prefix'] = '&lt;div class="classname"&gt; OR';
       $form['field_test']['#suffix'] = '&lt;/div&gt;';
       //where field_test is your file upload field
    }
 }