Text

Hi

  I want to display the below text in a single field . How it can be done. I should be able to ,Justify,Bold,Underline field or line.

Commercial Terms & Conditions:

> Above prices are exclusive of Taxes.

> S.T @ 12.36 %

> VAT @ 6.05 %

100% advance along with Purchase Order.

Thanks

Parents Reply Children
  • Hi Parvezalam

     I want to change display Width . Not text input width

    Thanks

  • Hi

     This one

    'displayParams' =>
    array (
    'size' => 75,
    ),

    Thanks

  • Hi

      I have the below file . Where is should write this

    <?php
    $module_name = 'AOS_Quotes';
    $_object_name = 'aos_quotes';
    $viewdefs [$module_name] =
    array (
    'EditView' =>
    array (
    'templateMeta' =>
    array (
    'form' =>
    array (
    'buttons' =>
    array (
    0 => 'SAVE',
    1 => 'CANCEL',
    ),
    ),
    'maxColumns' => '2',
    'widths' =>
    array (
    0 =>
    array (
    'label' => '10',
    'field' => '30',
    ),
    1 =>
    array (
    'label' => '10',
    'field' => '30',
    ),
    ),
    'includes' =>
    array (
    0 =>
    array (
    'file' => 'modules/AOS_Quotes/js/Quote.js',
    ),
    ),
    'useTabs' => false,
    'tabDefs' =>
    array (
    'LBL_ACCOUNT_INFORMATION' =>
    array (
    'newTab' => false,
    'panelDefault' => 'expanded',
    ),
    'LBL_ADDRESS_INFORMATION' =>
    array (
    'newTab' => false,
    'panelDefault' => 'expanded',
    ),
    'LBL_EMAIL_ADDRESSES' =>
    array (
    'newTab' => false,
    'panelDefault' => 'expanded',
    ),
    'LBL_LINE_ITEMS' =>
    array (
    'newTab' => false,
    'panelDefault' => 'expanded',
    ),
    'LBL_EDITVIEW_PANEL1' =>
    array (
    'newTab' => false,
    'panelDefault' => 'expanded',
    ),
    ),
    'syncDetailEditViews' => true,
    ),
    'panels' =>
    array (
    'lbl_account_information' =>
    array (
    0 =>
    array (
    0 =>
    array (
    'name' => 'name',
    'displayParams' =>
    array (
    'required' => true,
    ),
    'label' => 'LBL_NAME',
    ),
    1 =>
    array (
    'name' => 'opportunity',
    'label' => 'LBL_OPPORTUNITY',
    ),
    ),
    1 =>
    array (
    0 =>
    array (
    'name' => 'number',
    'label' => 'LBL_QUOTE_NUMBER',
    'customCode' => '{$fields.number.value}',
    ),
    1 =>
    array (
    'name' => 'stage',
    'label' => 'LBL_STAGE',
    ),
    ),
    2 =>
    array (
    0 =>
    array (
    'name' => 'expiration',
    'label' => 'LBL_EXPIRATION',
    ),
    1 =>
    array (
    'name' => 'invoice_status',
    'label' => 'LBL_INVOICE_STATUS',
    ),
    ),
    3 =>
    array (
    0 =>
    array (
    'name' => 'assigned_user_name',
    'label' => 'LBL_ASSIGNED_TO_NAME',
    ),
    1 =>
    array (
    'name' => 'term',
    'label' => 'LBL_TERM',
    ),
    ),
    4 =>
    array (
    0 =>
    array (
    'name' => 'approval_status',
    'label' => 'LBL_APPROVAL_STATUS',
    ),
    1 =>
    array (
    'name' => 'approval_issue',
    'label' => 'LBL_APPROVAL_ISSUE',
    ),
    ),
    ),
    'lbl_address_information' =>
    array (
    0 =>
    array (
    0 =>
    array (
    'name' => 'billing_account',
    'label' => 'LBL_BILLING_ACCOUNT',
    ),
    ),
    1 =>
    array (
    0 =>
    array (
    'name' => 'billing_contact',
    'label' => 'LBL_BILLING_CONTACT',
    ),
    ),
    2 =>
    array (
    0 =>
    array (
    'name' => 'billing_address_street',
    'hideLabel' => true,
    'type' => 'address',
    'displayParams' =>
    array (
    'key' => 'billing',
    'rows' => 2,
    'cols' => 30,
    'maxlength' => 150,
    ),
    'label' => 'LBL_BILLING_ADDRESS_STREET',
    ),
    1 =>
    array (
    'name' => 'shipping_address_street',
    'hideLabel' => true,
    'type' => 'address',
    'displayParams' =>
    array (
    'key' => 'shipping',
    'copy' => 'billing',
    'rows' => 2,
    'cols' => 30,
    'maxlength' => 150,
    ),
    'label' => 'LBL_SHIPPING_ADDRESS_STREET',
    ),
    ),
    ),
    'lbl_email_addresses' =>
    array (
    0 =>
    array (
    0 =>
    array (
    'name' => 'template_ddown_c',
    'label' => 'LBL_TEMPLATE_DDOWN_C',
    ),
    1 =>
    array (
    'name' => 'currency_id',
    'studio' => 'visible',
    'label' => 'LBL_CURRENCY',
    ),
    ),
    ),
    'lbl_line_items' =>
    array (
    0 =>
    array (
    0 =>
    array (
    'name' => 'line_items_c',
    'label' => 'LBL_LINE_ITEMS',
    'customCode' => '{$LINE_ITEMS}',
    ),
    ),
    1 =>
    array (
    0 =>
    array (
    'name' => 'currency',
    'customCode' => '{$CURRENCY}',
    ),
    ),
    2 =>
    array (
    0 =>
    array (
    'name' => 'total_amt',
    'label' => 'LBL_TOTAL_AMT',
    ),
    ),
    3 =>
    array (
    0 =>
    array (
    'name' => 'discount_amount',
    'label' => 'LBL_DISCOUNT_AMOUNT',
    ),
    ),
    4 =>
    array (
    0 =>
    array (
    'name' => 'subtotal_amount',
    'label' => 'LBL_SUBTOTAL_AMOUNT',
    ),
    ),
    5 =>
    array (
    0 =>
    array (
    'name' => 'tax_amount',
    'label' => 'LBL_TAX_AMOUNT',
    ),
    ),
    6 =>
    array (
    0 =>
    array (
    'name' => 'shipping_amount',
    'label' => 'LBL_SHIPPING_AMOUNT',
    'displayParams' =>
    array (
    'field' =>
    array (
    'onblur' => 'calculateGrandTotal();',
    ),
    ),
    ),
    ),
    7 =>
    array (
    0 =>
    array (
    'name' => 'total_amount',
    'label' => 'LBL_GRAND_TOTAL',
    ),
    ),
    ),
    'lbl_editview_panel1' =>
    array (
    0 =>
    array (
    0 =>
    array (
    'name' => 'price_c',
    'label' => 'LBL_PRICE',
    ),
    ),
    1 =>
    array (
    0 =>
    array (
    'name' => 'octroi_c',
    'label' => 'LBL_OCTROI',
    ),
    ),
    2 =>
    array (
    0 =>
    array (
    'name' => 'payment_c',
    'label' => 'LBL_PAYMENT',
    ),
    ),
    3 =>
    array (
    0 =>
    array (
    'name' => 'warranty_c',
    'label' => 'LBL_WARRANTY',
    ),
    ),
    4 =>
    array (
    0 =>
    array (
    'name' => 'deliverytime_c',
    'label' => 'LBL_DELIVERYTIME',
    ),
    ),
    5 =>
    array (
    0 =>
    array (
    'name' => 'servicebackup_c',
    'label' => 'LBL_SERVICEBACKUP',
    ),
    ),
    6 =>
    array (
    0 =>
    array (
    'name' => 'salesvat_c',
    'label' => 'LBL_SALESVAT',
    ),
    ),
    7 =>
    array (
    0 =>
    array (
    'name' => 'stampingcharges_c',
    'label' => 'LBL_STAMPINGCHARGES',
    ),
    ),
    8 =>
    array (
    0 =>
    array (
    'name' => 'chdcst1_c',
    'label' => 'LBL_CHDCST1',
    ),
    1 => '',
    ),
    9 =>
    array (
    0 =>
    array (
    'name' => 'chdcst2_c',
    'label' => 'LBL_CHDCST2',
    ),
    ),
    10 =>
    array (
    0 =>
    array (
    'name' => 'mhlcst1_c',
    'label' => 'LBL_MHLCST1',
    ),
    ),
    11 =>
    array (
    0 =>
    array (
    'name' => 'mhlcst2_c',
    'label' => 'LBL_MHLCST2',
    ),
    ),
    ),
    ),
    ),
    );
    ?>

    Thanks

  • hi,

    on which field you have to increase width?

    eg from your code like below on name field:

    0 =>
    array (
    'name' => 'name',
    'displayParams' =>
    array (
    'required' => true,

    'size' => 75,
    ),