Hello🙂
I am new user to your forms, but I like it very much already🙂
I have set up test environment so Icna test and learn hot to use this great tool, and I had lots of success. I was able to everything, except field validation.
As soon as I select enable validation to "YES", my form is not showing at the front end. All that is shown is "Joomla Professional Work".
This is my testing form that I use, it doesn't look good... but its only for testing and learning🙂
Thanks you very much,
VR
Wex<br><br>Post edited by: GreyHead, at: 2007/12/03 11:05
I am new user to your forms, but I like it very much already🙂
I have set up test environment so Icna test and learn hot to use this great tool, and I had lots of success. I was able to everything, except field validation.
As soon as I select enable validation to "YES", my form is not showing at the front end. All that is shown is "Joomla Professional Work".
This is my testing form that I use, it doesn't look good... but its only for testing and learning🙂
Name
<input type="text" name="Ime" />
</label>
<br />
<label>Last
<input type="text" name="Prezime" />
</label>
<br />
<label>DOB
<input type="text" name="Rodjen" />
</label>
<br />
<label>Age
<input type="text" name="Starost" />
</label>
<br />
<label> Email
<input name="vasemail" type="text" id="Vasemail" />
</label>
<br />
<label>upload
<input type="file" name="file" />
</label>
</p>
<p>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
If there is a bug (and I have searched forum, many people say it is), is there another way how to validate fields?
Thanks you very much,
VR
Wex<br><br>Post edited by: GreyHead, at: 2007/12/03 11:05
Hi Wex,
I don't see anything wrong with your form code. But the blank page does suggest that there is something wrong with the page source. Please will you take a backup copy of your form from the ChronoForms Form Manager and it post it here or email it to me so I can have a look at all the settings.
You can use any validation code with ChronoForms, just how you set it up depends on the way the form code works. Things to remember are that ChronoForms changes the form name, and that if you have may components installed you may get JavaScript clashes (this is especially true of Joomal 1.5 which pre-installs the MooTools library).
Bob
I don't see anything wrong with your form code. But the blank page does suggest that there is something wrong with the page source. Please will you take a backup copy of your form from the ChronoForms Form Manager and it post it here or email it to me so I can have a look at all the settings.
You can use any validation code with ChronoForms, just how you set it up depends on the way the form code works. Things to remember are that ChronoForms changes the form name, and that if you have may components installed you may get JavaScript clashes (this is especially true of Joomal 1.5 which pre-installs the MooTools library).
Bob
Hello Greyhead and thank you for such a fast reply.
If I understood you correctly, this is what I have done:
I have created a backup file (using backup form) and the file i made was Registracija.cfbak.
I have opened that file using Wordpad and here is its content:
Thank you
VR
Wex
If I understood you correctly, this is what I have done:
I have created a backup file (using backup form) and the file i made was Registracija.cfbak.
I have opened that file using Wordpad and here is its content:
<++-++-++id++-++-++>1<endendend><++-++-++name++-++-++>Registracija<endendend><++-++-++html++-++-++>Name        Â
<input type="text" name="Ime" />
</label>
<br />
<label>Lastname   Â
<input type="text" name="Prezime" />
</label>
<br />
<label>DOBÂ Â Â Â
<input type="text" name="Rodjen" />
</label>
<br />
<label>Age    Â
<input type="text" name="Starost" />
</label>
<br />
<label>Your email
<input name="vasemail" type="text" id="Vasemail" />
</label>
<br />
<label>upl
<input type="file" name="file" />
</label>
</p>
<p>{imageverification}Â </p>
<p>Â </p>
<p>Â </p>
<p>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
<endendend><++-++-++scriptcode++-++-++><endendend><++-++-++redirecturl++-++-++><endendend><++-++-++emailresults++-++-++>2<endendend><++-++-++extraemail++-++-++>wex.alpha@gmail.com<endendend><++-++-++emailsubject++-++-++>Registracija<endendend><++-++-++onsubmitcode++-++-++><endendend><++-++-++onsubmitcodeb4++-++-++><endendend><++-++-++attformtag++-++-++>enctype='multipart/form-data<endendend><++-++-++submiturl++-++-++><endendend><++-++-++emailtemplate++-++-++><endendend><++-++-++paramsall++-++-++>ccemail=
bccemail=
formmethod=post
omittedfields=
recip=Yes
from_email=fromemail@gmail.com
from_name=AMERICANEXX
replyto_email=
replyto_name=
email_type=1
debug=0
mysql_type=1
enmambots=No
emailfield=Vasemail
subjectfield=
ccfield=
bccfield=
fromemailfield=test
fromnamefield=
uploads=Yes
uploadfields=file:txt
uploadmax=5000
uploadmin=1
dvfields=
dvrecord=Record #n
imagever=Yes
imtype=0
validate=No
val_required=
val_validate_number=
val_validate_digits=
val_validate_alpha=
val_validate_alphanum=
val_validate_date=
val_validate_email=vasemail
val_validate_url=
val_validate_date_au=
val_validate_currency_dollar=
val_validate_selection=
val_validate_one_required=<endendend><++-++-++titlesall++-++-++><endendend><++-++-++autogenerated++-++-++><?php
global $database;
$database->setQuery( "INSERT INTO #__chronoforms_1 VALUES (
'' , '". date('Y-m-d')." - ".date("H:i:«»s"«»)."', '".$_SERVER['REMOTE_ADDR']."' , '".$_POST['Ime']."' , '".$_POST['Prezime']."' , '".$_POST['Rodjen']."' , '".$_POST['Starost']."' , '".$_POST['Vasemail']."' , '".$_POST['file']."');" );
if (!$database->query()) {
echo "<script> alert('".$database->getErrorMsg()."'); window.history.go(-1); </script>
";
}
?><endendend><++-++-++published++-++-++>0<endendend>
Thank you
VR
Wex
Hi Wex,
Please just attach the file to your post.I've tried pasting this back into a cfbak file but something is lost in translation and it won't restore correctly.
Thanks
Bob
Please just attach the file to your post.I've tried pasting this back into a cfbak file but something is lost in translation and it won't restore correctly.
Thanks
Bob
Hi Wex,
I just scanned through the code and it looks as though the entry in the Form Tag box is missing the final quote '. I'm not sure why this should cause a a problem just on validation though.
Bob
I just scanned through the code and it looks as though the entry in the Form Tag box is missing the final quote '. I'm not sure why this should cause a a problem just on validation though.
Bob
Dear GreyHead
I have deleted all forms and started from zero.
Right now I do not have problems with validation. I made this to work
However, I am failing at this one miserably
... It simply doesn't react at all... It will not check email, anything I enter is valid...
I have deleted all forms and started from zero.
Right now I do not have problems with validation. I made this to work
1 - required (not blank)
.However, I am failing at this one miserably
7- validate-email (a valid email address)
... It simply doesn't react at all... It will not check email, anything I enter is valid...
Please disregard this post... it is working now as it should be.
Congratulate you on this fine piece of tool. I am going to purchase it this very minute.
Thank you again
VR
Wex<br><br>Post edited by: wex, at: 2007/12/03 12:27
Congratulate you on this fine piece of tool. I am going to purchase it this very minute.
Thank you again
VR
Wex<br><br>Post edited by: wex, at: 2007/12/03 12:27
This topic is locked and no more replies can be posted.