Problem with required field contact form

Hello,
Dolphin is a problem with the contact form
Only the email field and the field captcha is mandatory
Normally
the
field description, name and subject should be compulsory

Can you tell me how can I solve this problem

You can test the demo : http://www.boonex.us/contact.php

Thank you

Problem with required field contact form

Capture.png · 32.1K · 287 views
Free Dating Site on: http://coolonweb.com
Quote · 13 Oct 2010

yep, i'm running 7.0.1 and have same problem.

i'm tired
Quote · 13 Oct 2010

Yes it is a big problem because many people on my site sends a message without their name, subject and description and is very annoying

Free Dating Site on: http://coolonweb.com
Quote · 13 Oct 2010

you should be able to adjust inside the contact.php but there might be an easier way:

/**
* page code function
*/
function PageCompPageMainCode() {
global $oTemplConfig;
return DesignBoxContent( _t('_CONTACT_H1'), MsgBox(_t('_CONTACT')), $oTemplConfig->PageCompThird_db_num);
}

function PageCompPageMainCodeWithForm() {
global $oTemplConfig, $site;

$sActionText = '';

$aForm = array(
'form_attrs' => array(
'id' => 'post_us_form',
'action' => BX_DOL_URL_ROOT . 'contact.php',
'method' => 'post',
),
'params' => array (
'db' => array(
'submit_name' => 'do_submit',
),
),
'inputs' => array(
'name' => array(
'type' => 'text',
'name' => 'name',
'caption' => _t('_Your name'),
'required' => true,
),
'email' => array(
'type' => 'text',
'name' => 'email',
'caption' => _t('_Your email'),
'required' => true,
'checker' => array(
'func' => 'email',
'error' => _t( '_Incorrect Email' )
),
),
'message_subject' => array(
'type' => 'text',
'name' => 'subject',
'caption' => _t('_message_subject'),
'required' => true,
),
'message_text' => array(
'type' => 'textarea',
'name' => 'body',
'caption' => _t('_Message text'),
'required' => true,
),
'captcha' => array(
'type' => 'captcha',
'caption' => _t('_Enter what you see:'),
'name' => 'securityImageValue',
'required' => true,
'checker' => array(
'func' => 'captcha',
'error' => _t( '_Incorrect Captcha' ),
),
),
'submit' => array(
'type' => 'submit',
'name' => 'do_submit',
'value' => _t('_Submit'),
),
),
);

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 13 Oct 2010

Trouble was fixed: http://www.boonex.com/trac/dolphin/changeset/14525

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 18 Oct 2010
 
 
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.