izmenjeno 1 put, poslednji put Aleksandar Ružičić 07.03.2011. u 18:16
Izmene poruke
- Aleksandar Ružičić07.03.2011. u 18:16zapis iz teksta poruke
Skinuo sam template u xml-u i preradio sam ga za moje potrebe, ali imam jedan "mali" problem ???
Ne radi mi Contact Form, tj. kada se popuni i klik na SEND izbaci poruku da nije poslato.
Ovako izgleda FormConfiguration.xml file
Molim ako neko zna gde je greska ili sta treba da se upise.
Ne radi mi Contact Form, tj. kada se popuni i klik na SEND izbaci poruku da nije poslato.
Ovako izgleda FormConfiguration.xml file
Molim ako neko zna gde je greska ili sta treba da se upise.
Code (xml):
<?xml version="1.0" encoding="utf-8"?>
<contactFormConfiguration>
<emailTo><![CDATA[[email protected]]]></emailTo>
<serverProcessorType>php</serverProcessorType>
<serverProcessorFileName>contact</serverProcessorFileName>
<validateRequiredOnly>false</validateRequiredOnly>
<submitFormOnEnter>false</submitFormOnEnter>
<messageSentText><![CDATA[Vaša poruka je poslata.]]></messageSentText>
<messageSentFailedText><![CDATA[Greška, poruka nije poslata]]></messageSentFailedText>
<formProcessingText><![CDATA[šalje se...]]></formProcessingText>
<smtpServer><![CDATA[localhost]]></smtpServer>
<smtpPort>25</smtpPort>
<plainText>false</plainText>
<emailFromSource>2</emailFromSource>
<subjectSource><![CDATA[Contact Form from your site]]></subjectSource>
<validationErrorMessages>
<message type="maxRequirementError"><![CDATA[{LABEL} - The number of variants selected exceeds the maximum]]></message>
<message type="reqExpError"><![CDATA[{LABEL} - The specified string does not match with the regular expression.]]></message>
<message type="biggerThanMaxError"><![CDATA[{LABEL} - The specified number is greater than an acceptable biggest number for this field.]]></message>
<message type="negativeError"><![CDATA[{LABEL} - The specified number must not be negative.]]></message>
<message type="lowerThanMinError"><![CDATA[{LABEL} - The specified number is lower than an acceptable lowest number for this field.]]></message>
<message type="minCharsLimitError"><![CDATA[{LABEL} - The specified number of characters in a field is less than a required minimum.]]></message>
<message type="dateIsNotValidError"><![CDATA[{LABEL} - date has wrong format]]></message>
<message type="shouldBeEqualError"><![CDATA[{LABEL} - values do not match]]></message>
<message type="fieldIsRequired"><![CDATA[{LABEL} is required.]]></message>
<message type="emailNotValid"><![CDATA[{LABEL} - Pogrešna e-mail adresa.]]></message>
<message type="notANumberError"><![CDATA[{LABEL} - The data is not a number.]]></message>
<message type="minRequirementError"><![CDATA[{LABEL} - The minimum number of variants is not selected]]></message>
</validationErrorMessages>
</contactFormConfiguration>
<?xml version="1.0" encoding="utf-8"?>
<contactFormConfiguration>
<emailTo><![CDATA[[email protected]]]></emailTo>
<serverProcessorType>php</serverProcessorType>
<serverProcessorFileName>contact</serverProcessorFileName>
<validateRequiredOnly>false</validateRequiredOnly>
<submitFormOnEnter>false</submitFormOnEnter>
<messageSentText><![CDATA[Vaša poruka je poslata.]]></messageSentText>
<messageSentFailedText><![CDATA[Greška, poruka nije poslata]]></messageSentFailedText>
<formProcessingText><![CDATA[šalje se...]]></formProcessingText>
<smtpServer><![CDATA[localhost]]></smtpServer>
<smtpPort>25</smtpPort>
<plainText>false</plainText>
<emailFromSource>2</emailFromSource>
<subjectSource><![CDATA[Contact Form from your site]]></subjectSource>
<validationErrorMessages>
<message type="maxRequirementError"><![CDATA[{LABEL} - The number of variants selected exceeds the maximum]]></message>
<message type="reqExpError"><![CDATA[{LABEL} - The specified string does not match with the regular expression.]]></message>
<message type="biggerThanMaxError"><![CDATA[{LABEL} - The specified number is greater than an acceptable biggest number for this field.]]></message>
<message type="negativeError"><![CDATA[{LABEL} - The specified number must not be negative.]]></message>
<message type="lowerThanMinError"><![CDATA[{LABEL} - The specified number is lower than an acceptable lowest number for this field.]]></message>
<message type="minCharsLimitError"><![CDATA[{LABEL} - The specified number of characters in a field is less than a required minimum.]]></message>
<message type="dateIsNotValidError"><![CDATA[{LABEL} - date has wrong format]]></message>
<message type="shouldBeEqualError"><![CDATA[{LABEL} - values do not match]]></message>
<message type="fieldIsRequired"><![CDATA[{LABEL} is required.]]></message>
<message type="emailNotValid"><![CDATA[{LABEL} - Pogrešna e-mail adresa.]]></message>
<message type="notANumberError"><![CDATA[{LABEL} - The data is not a number.]]></message>
<message type="minRequirementError"><![CDATA[{LABEL} - The minimum number of variants is not selected]]></message>
</validationErrorMessages>
</contactFormConfiguration>