a Custom Form values on same line

I am making a custom form and trying to add two valus on one line.  value business phone and value ext.  Anyone know how to get these two values on the same line on BxFormMyformAdd.php.

Example of fields below. 

'businessphone' => array(
                    'type' => 'text',
                    'name' => 'businessphone',
                    'value' => isset($this->_aParam['businessphone']) ? $this->_aParam['businessphone'] : '' ,
                    'caption' => _t('_bx_form_businessphone'),
                    'required' => false,
                    'db' => array(
                        'pass' => 'Xss'
                    ),
                    'display' => true,
                ),
    'ext' => array(
                    'type' => 'text',
                    'name' => 'ext',
                    'value' => isset($this->_aParam['ext']) ? $this->_aParam['ext'] : '' ,
                    'caption' => _t('_bx_form_ext'),
                    'required' => false,
                    'db' => array(
                        'pass' => 'Xss'
                    ),
                    'display' => true,
                ),

Thanks, Jason

Sarkozy
Quote · 6 Mar 2015

You can try to use 'input_set':

'businessphone' => array (
    'type' => 'input_set',
    array(
                    'type' => 'text',
                    'name' => 'businessphone',
                    'value' => isset($this->_aParam['businessphone']) ? $this->_aParam['businessphone'] : '' ,
                    'caption' => _t('_bx_form_businessphone'),
                    'required' => false,
                    'db' => array(
                        'pass' => 'Xss'
                    ),
                    'display' => true,
    ),
    array(
                    'type' => 'text',
                    'name' => 'ext',
                    'value' => isset($this->_aParam['ext']) ? $this->_aParam['ext'] : '' ,
                    'caption' => _t('_bx_form_ext'),
                    'required' => false,
                    'db' => array(
                        'pass' => 'Xss'
                    ),
                    'display' => true,
    ),
),
Rules → http://www.boonex.com/terms
Quote · 8 Mar 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.