***UPDATED*** DB Technosystems Form Processor 02/09/2011
- BaconFries
-
- Posts: 5648
- Joined: Thu Aug 16, 2007 7:32 pm
- me.prosenjeet
-
- Posts: 1267
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
I sincerely wish Support incorporates this in WB as an update or this extension becomes official at least so those using the illegal ones (believe me there are still many) will not have access to this!
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
***UPDATED*** DB Technosystems Form Processor 19/08/2009
Another Update:
Added a small addon extension: DBTS reCAPTCHA.
It will allow you to embed a reCAPTCHA in your forms in just a few mouseclicks.
The Processor code has been accordingly updated to be able to verify the reCAPTCHA.
Before adding a reCAPTCHA in your forms, signup for a reCAPTCHA account and generate your Private and Public Keys. It is free and extremely easy and fast.
Please refer to the manual for instructions.
Added a small addon extension: DBTS reCAPTCHA.
It will allow you to embed a reCAPTCHA in your forms in just a few mouseclicks.
The Processor code has been accordingly updated to be able to verify the reCAPTCHA.
Before adding a reCAPTCHA in your forms, signup for a reCAPTCHA account and generate your Private and Public Keys. It is free and extremely easy and fast.
Please refer to the manual for instructions.
www.dbtechnosystems.com
Re: ***UPDATED*** DB Technosystems Form Processor 19/08/2009
I love it!!! Thank you George!!! You are indeed an inspiration!!!Navaldesign wrote:Another Update:
Added a small addon extension: DBTS reCAPTCHA.
It will allow you to embed a reCAPTCHA in your forms in just a few mouseclicks.
The Processor code has been accordingly updated to be able to verify the reCAPTCHA.
Before adding a reCAPTCHA in your forms, signup for a reCAPTCHA account and generate your Private and Public Keys. It is free and extremely easy and fast.
Please refer to the manual for instructions.
Running WYSIWYG Web Builder since 2007...
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
***UPDATED*** DBTS Form Processor 22/08/2009
This is a bug fixing release, discovered thanks to an error encountered by Leepton.
Please download and install again DBTS Form Processor and DBTS Preview.
Special Instructions in case that both the DBTS Form processor and the DBTS Preview objects are present in the page: Until the Manual is also updated, make sure that the DBTS Preview object is infront (Right Click, Move to Front) .
Clear Session should be set to "Yes" in both objects.
Please download and install again DBTS Form Processor and DBTS Preview.
Special Instructions in case that both the DBTS Form processor and the DBTS Preview objects are present in the page: Until the Manual is also updated, make sure that the DBTS Preview object is infront (Right Click, Move to Front) .
Clear Session should be set to "Yes" in both objects.
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
***UPDATED*** DB reCAPTCHA 23/08/2009
The DBTS Preview Extension has been updated. Now you can select among the standard reCAPTCHA themes the one you prefer.
You can also select the "Clean" theme, which allows you to customize the colors according to your preferences.
The Manual has also been updated accordingly.
This is not a required update. It is recommended for those that wish control over on the reCAPTCHA style.
The other extensions in the zip remain the same, so you can re-install only the DBTS reCAPTCHA extension.
You can also select the "Clean" theme, which allows you to customize the colors according to your preferences.
The Manual has also been updated accordingly.
This is not a required update. It is recommended for those that wish control over on the reCAPTCHA style.
The other extensions in the zip remain the same, so you can re-install only the DBTS reCAPTCHA extension.
www.dbtechnosystems.com
Remember Guys!
There are 3 GURUS on this forum (Apart from Pablo)
George, Eddy, BaconFries
They have come up with FANTASTIC extensions which has proved to invaluable in building websites.
So a HUGE thank you to you guys for your constant efforts and willingness to help ALL THE TIME!!!!!
There are 3 GURUS on this forum (Apart from Pablo)
George, Eddy, BaconFries
They have come up with FANTASTIC extensions which has proved to invaluable in building websites.
So a HUGE thank you to you guys for your constant efforts and willingness to help ALL THE TIME!!!!!
Running WYSIWYG Web Builder since 2007...
- iamafireman
-
- Posts: 84
- Joined: Mon May 26, 2008 2:41 am
- Location: Tennessee
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- me.prosenjeet
-
- Posts: 1267
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Hi Naval,
Very nice extension
Since you gave us some quick and lovely updates of this, was wondering if something new is coming up!
Very nice extension
Since you gave us some quick and lovely updates of this, was wondering if something new is coming up!
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
The CSV Manager extension is on its way.
Demo in http://www.dbtechnosystems.com/wb6/DBTS_CSV_Manager/
<only the <demo 3 is online.
No download yet as I'm testing this first one
Demo in http://www.dbtechnosystems.com/wb6/DBTS_CSV_Manager/
<only the <demo 3 is online.
No download yet as I'm testing this first one
www.dbtechnosystems.com
- iamafireman
-
- Posts: 84
- Joined: Mon May 26, 2008 2:41 am
- Location: Tennessee
I have my form work good. I have a logo that show no problem. I want to change that logo but it keeps showing the old logo. I have cleared all cache and temporary files but it still shows on 2 different email accounts. The funny thing is that I have deleted the old logo so its not even on the server anymore. any ideas what i can do to get the new logo to work??
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
The logo is read by the script EACH time the mail is sent, and is then embedded in the mail body. . So it seems impossible that you have changed it and it still displays the same. Further more, as you understand, it would nit even find it, since you say you have deleted it.
Please post the logo path as you have it in the form processor settings and a link to the form itself.
Please post the logo path as you have it in the form processor settings and a link to the form itself.
www.dbtechnosystems.com
- iamafireman
-
- Posts: 84
- Joined: Mon May 26, 2008 2:41 am
- Location: Tennessee
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
The form method must be POST
I believe that the rest is very clear.
If you get a "Page doesn't exist" it means that you have mistaken the success URL or Error URL.
I hope you are not trrying to test the form in preview, it doesn't work until published as it requires php
The minimum settings for a simple form to work are
success and error URLs, your email address, and of course, setting your preferences to Yes or No.
If you have specific questions I will be glad to answer them, I don't have the time at this very moment to create a demo project.
I believe that the rest is very clear.
If you get a "Page doesn't exist" it means that you have mistaken the success URL or Error URL.
I hope you are not trrying to test the form in preview, it doesn't work until published as it requires php
The minimum settings for a simple form to work are
success and error URLs, your email address, and of course, setting your preferences to Yes or No.
If you have specific questions I will be glad to answer them, I don't have the time at this very moment to create a demo project.
www.dbtechnosystems.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
You have some issue with your form action.
It should be
<? echo $_SERVER['PHP_SELF'];?>
which, when published, should be transformed to "aform.php"
In your case this doesn't happen, it changes the initial "<" and the closing ">" to their HTML codes: < and > which results in the action being completely wrong.
This is not an issue of the extension but an issue with your publishing or the DOC type.
It should be
<? echo $_SERVER['PHP_SELF'];?>
which, when published, should be transformed to "aform.php"
In your case this doesn't happen, it changes the initial "<" and the closing ">" to their HTML codes: < and > which results in the action being completely wrong.
This is not an issue of the extension but an issue with your publishing or the DOC type.
www.dbtechnosystems.com
Two differents forms in one website (not multipage forms)
Hi,
Is it possible to create two forms using the DBTS form processor in each form. Or do I have to create another map for each form.
Asking in an other way: does the .php in the DBTS_includes map support just one form or does it their work for both of them?
A second question: Does the Preview extension create his own layout on the preview page or do I have to create something myself. How does it work?
Is it possible to create two forms using the DBTS form processor in each form. Or do I have to create another map for each form.
Asking in an other way: does the .php in the DBTS_includes map support just one form or does it their work for both of them?
A second question: Does the Preview extension create his own layout on the preview page or do I have to create something myself. How does it work?
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
You can use ore than one forms in the same page, with DBTS Form processor. However, you need to use TWO DBTS Form Processor objects, one for each form. TIP: create the first DBTS Form Processor Pbject, then simply copy/paste it and change whatever needs to be changed for each form
It is ESSENTIAL that you use Form IDs (read manual) so each DBTS Form Processor Object will ONLY process the correct form.
The DBTS Preview Object creates automatically the layout based on your own preferences regarding colors, fonts etc.
However it also allows you NOT to use the automatic layout, and use your own layout if you prefer (pls read manual instructions).
It is ESSENTIAL that you use Form IDs (read manual) so each DBTS Form Processor Object will ONLY process the correct form.
The DBTS Preview Object creates automatically the layout based on your own preferences regarding colors, fonts etc.
However it also allows you NOT to use the automatic layout, and use your own layout if you prefer (pls read manual instructions).
www.dbtechnosystems.com
Thank you.
After carefully reading the manual again I saw the answer was in it.
Sorry.
Now I have still another problem. The processor sends two emails of each form. One from the form page and one from tehe preview page.
When the preview pages shows up in the browser the mail in already in my mailbox.
I have set the form processor in the formpage (with the fields to enter) to do NOT anything.
What do I wrong
After carefully reading the manual again I saw the answer was in it.
Sorry.
Now I have still another problem. The processor sends two emails of each form. One from the form page and one from tehe preview page.
When the preview pages shows up in the browser the mail in already in my mailbox.
I have set the form processor in the formpage (with the fields to enter) to do NOT anything.
What do I wrong
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Thankyou very much for your prompt rely.Navaldesign wrote:<? echo implode(",", $Choices);?>
When I use this I get 0) as the output.
Can I doublecheck I am doing this correctly:
should the <? echo' and ';?> go into the HTML before & after tags?
What about the '. and .' delimiters shown in the manual - do I need to use these around the field name?
I've tried all sorts of combinations on the echo implode but can't seem to make it work - it either comes out as a literal string or I get parse errors.
thanks much..I'm trying to get a handle on php but not much joy...
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Hi George,
I tried out your processing extension.
But no matter what,I don't get the error page allthough the setting is redirect.
If you make a typo in recaptcha but use the same amount of chars it will
goto succes page.
If completly wrong recaptcha it shows the recaptcha error in the recaptcha box(this I understand).
I like it to go to the error page,I thought this was the purpose of the redirect feature.
If not using recaptcha but the build in captcha and making a typo it shows a blank page with "you entered the wrong code"and the backlink,not the error page.
But when entering the right code it shows the error page?
Hans
I tried out your processing extension.
But no matter what,I don't get the error page allthough the setting is redirect.
If you make a typo in recaptcha but use the same amount of chars it will
goto succes page.
If completly wrong recaptcha it shows the recaptcha error in the recaptcha box(this I understand).
I like it to go to the error page,I thought this was the purpose of the redirect feature.
If not using recaptcha but the build in captcha and making a typo it shows a blank page with "you entered the wrong code"and the backlink,not the error page.
But when entering the right code it shows the error page?
Hans
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Preserving form values for multivalue fields
I have been following the instructions in the DBTS manual on how to preserve your form values. It works great for text boxes and radio buttons, but I cannot get it to work for multi-value checkboxes...I presume the if statement for the inside tag needs to be written differently?
thanks
thanks
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
- me.prosenjeet
-
- Posts: 1267
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
I have a "File upload" in the form. I am facing two issues:
1) On the form processor I have set "do not upload file to server" and attach in mail only but when the form reaches me, the form upload shows in the mail with a path to the uploaded file on the server. When clicked upon the link it shows "Not found". How can I remove this false link of Server file upload. (This is the link I get(actual site name replaced my 'mysite.com') : http://mysite.com/_quote/uploads/888848 ... ection.doc).
This file also shows as an attachment in the mail(which is ok)
This is the mail that comes to the admin:
Screenshot of the Form processor settings:
http://i38.tinypic.com/3ua0x.png
2) I had initially put 2 upload sections. Now what happens in the mail, first upload shows as link above (http://mysite.com/_quote/uploads/888848 ... ection.doc) and the second file comes as an attachment without server store link
I dont know if I am able to explain what I want to convey. If required, I will mail you the link to the online demo. Please let me know.
1) On the form processor I have set "do not upload file to server" and attach in mail only but when the form reaches me, the form upload shows in the mail with a path to the uploaded file on the server. When clicked upon the link it shows "Not found". How can I remove this false link of Server file upload. (This is the link I get(actual site name replaced my 'mysite.com') : http://mysite.com/_quote/uploads/888848 ... ection.doc).
This file also shows as an attachment in the mail(which is ok)
This is the mail that comes to the admin:
Screenshot of the Form processor settings:
http://i38.tinypic.com/3ua0x.png
2) I had initially put 2 upload sections. Now what happens in the mail, first upload shows as link above (http://mysite.com/_quote/uploads/888848 ... ection.doc) and the second file comes as an attachment without server store link
I dont know if I am able to explain what I want to convey. If required, I will mail you the link to the online demo. Please let me know.
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
This bug has been brought to my attention some time ago and fixed in version 2.1.4 currently uploaded, as well as the autoresponder attachments issue.
If the "Store on the server" is set to "No" the uploaded files now will appear simply as file names and, of course, they will be attached in the mail (IF you have set it to attach the files to the mail)
Make sure that you have this latest version installed. (2.1.4)
If not, download and install again.
If the "Store on the server" is set to "No" the uploaded files now will appear simply as file names and, of course, they will be attached in the mail (IF you have set it to attach the files to the mail)
Make sure that you have this latest version installed. (2.1.4)
If not, download and install again.
www.dbtechnosystems.com
- me.prosenjeet
-
- Posts: 1267
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Thanks Naval, didn't notice the new version. Thanks for the info....works perfect now
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- me.prosenjeet
-
- Posts: 1267
- Joined: Mon Dec 24, 2007 1:50 pm
- Location: Lucknow
- Contact:
Naval,
This link http://it2.php.net/manual/en/timezones.php on the pdf for mentioning time zone isnt working here. Any alternative please
This link http://it2.php.net/manual/en/timezones.php on the pdf for mentioning time zone isnt working here. Any alternative please
Check the new Chat GPT and Malware detect extensions at the link below
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
Check my WB Extensions
Check my WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: Preserving form values for multivalue fields
I thought I would try this for the inside HTML:tdr wrote:I have been following the instructions in the DBTS manual on how to preserve your form values. It works great for text boxes and radio buttons, but I cannot get it to work for multi-value checkboxes...I presume the if statement for the inside tag needs to be written differently?
thanks
<? if (
in_array("value", $fieldname)) {
echo "checked";
}
?>
but I get this error
Warning: in_array() [function.in-array]: Wrong datatype for second argument
Any advice would be appreciated.
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
There are 4 mistakes in your approach:
1. $fieldname is the array of fieldnames. "value" will never be in it.
2. $fieldname doesn't exist when coming back to the form page
3. "value" would never, anyway, exist in the $fieldname array, even if it existed.
4. of course, "value" is the imploded value, so yo will never find each checkboxes value there.
Solution: suppose that you have named your multiple checkboxes "hobbies"
code:
<?php
$hobbies_array = explode(",", $hobbies);
if (in_array("specific checkbox value", $hobbies_array)) {
echo "checked";
}
?>
Replace specific checkbox value with the actual value of the checkbox.
1. $fieldname is the array of fieldnames. "value" will never be in it.
2. $fieldname doesn't exist when coming back to the form page
3. "value" would never, anyway, exist in the $fieldname array, even if it existed.
4. of course, "value" is the imploded value, so yo will never find each checkboxes value there.
Solution: suppose that you have named your multiple checkboxes "hobbies"
code:
<?php
$hobbies_array = explode(",", $hobbies);
if (in_array("specific checkbox value", $hobbies_array)) {
echo "checked";
}
?>
Replace specific checkbox value with the actual value of the checkbox.
www.dbtechnosystems.com
Sorry, I have misled you and should have been clearer in my posting - I was using $fieldname and value as generic placeholders to show the syntax of the php I was using, not the actual fieldname or possible values. Anyhow, thanks for the additional information - I wasn't doing the explode so I will test that now.Navaldesign wrote:There are 4 mistakes in your approach:
1. $fieldname is the array of fieldnames. "value" will never be in it.
2. $fieldname doesn't exist when coming back to the form page
3. "value" would never, anyway, exist in the $fieldname array, even if it existed.
4. of course, "value" is the imploded value, so yo will never find each checkboxes value there.
Solution: suppose that you have named your multiple checkboxes "hobbies"
code:
<?php
$hobbies_array = explode(",", $hobbies);
if (in_array("specific checkbox value", $hobbies_array)) {
echo "checked";
}
?>
Replace specific checkbox value with the actual value of the checkbox.
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
test drive
I didn't make it out of the parking lot. I just threw a page together with your extension on the page. Since it was then blank, I inserted three form editboxes
http://test12.info/formtest/dbform.html
I got a screen full of code. I gather I broke a rule but not sure which one.
I printed the manual and have questions. 2nd paragraph, you say, "Safe Mode" must be off. I thought that might be a folder attribute on host server but couldn't find it.
Still on first page, 4th paragraph, you say, dbts form processor extension allows us to process forms created with wb6. "However, if you create a blank page and add the DBTS Form Processor object in it, you can use it to process any other submission from any of your pages or even from another website." So I understand dbts will act as the form processor for all other forms on any other pages, but what does it mean "or even from another website"?
Thanks
http://test12.info/formtest/dbform.html
I got a screen full of code. I gather I broke a rule but not sure which one.
I printed the manual and have questions. 2nd paragraph, you say, "Safe Mode" must be off. I thought that might be a folder attribute on host server but couldn't find it.
Still on first page, 4th paragraph, you say, dbts form processor extension allows us to process forms created with wb6. "However, if you create a blank page and add the DBTS Form Processor object in it, you can use it to process any other submission from any of your pages or even from another website." So I understand dbts will act as the form processor for all other forms on any other pages, but what does it mean "or even from another website"?
Thanks
say for example I have an editbox on a form called BusinessName.
The user types in Joe's Pizza and clicks submit.
DBTS preview correctly displays the data as Joe's Pizza in the table, but if I use the variable name somewhere else on the same page, I get Joe\'s Pizza.
I am using this code:
Your business name is '.$BusinessName.'
Before Tag:
<?
echo'
After Tag:
';
?>
Result:
Your business name is Joe\'s Pizza
How do I fix this? thanks.
The user types in Joe's Pizza and clicks submit.
DBTS preview correctly displays the data as Joe's Pizza in the table, but if I use the variable name somewhere else on the same page, I get Joe\'s Pizza.
I am using this code:
Your business name is '.$BusinessName.'
Before Tag:
<?
echo'
After Tag:
';
?>
Result:
Your business name is Joe\'s Pizza
How do I fix this? thanks.
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
Re: test drive
Bry:
But, WHY did you use a separate page and not your own form page ?
And WHY did you add these editboxes ? for what purpose?
Example: my own scripts, which I install on my clients websites, include a support form. This support form submits directly to a form processor in my very own site so i can store the submitted details in my own database.
Rule: pages with php code MUST be published as PHP and not as html.bry wrote:I didn't make it out of the parking lot. I just threw a page together with your extension on the page. Since it was then blank, I inserted three form editboxes
http://test12.info/formtest/dbform.html
I got a screen full of code. I gather I broke a rule but not sure which one.
But, WHY did you use a separate page and not your own form page ?
And WHY did you add these editboxes ? for what purpose?
Safe Mode ON or OFF is a PHP setting of your server. If set to ON (used to be in the past) it disallows all file operations, so you can't save in CSV file.I printed the manual and have questions. 2nd paragraph, you say, "Safe Mode" must be off. I thought that might be a folder attribute on host server but couldn't find it.
Means that IF you want to have submissions from other websites directly processed by your own form processor, you can do it.Still on first page, 4th paragraph, you say, dbts form processor extension allows us to process forms created with wb6. "However, if you create a blank page and add the DBTS Form Processor object in it, you can use it to process any other submission from any of your pages or even from another website." So I understand dbts will act as the form processor for all other forms on any other pages, but what does it mean "or even from another website"?
Thanks
Example: my own scripts, which I install on my clients websites, include a support form. This support form submits directly to a form processor in my very own site so i can store the submitted details in my own database.
www.dbtechnosystems.com
Get multi-value checkboxes to remember their choices
Thanks to Navaldesign this is now working great. In order for multi-value checkboxes to remember their values, use the latest version of DBTS form processor, and include this in the inside HTML tag for the checkboxes:Navaldesign wrote:You can send me your project through my site contact form and I will have a look. Please clarify which form we are talking about (page).
<?
if (!empty($Choices) and in_array("Selection 1", $Choices)) {
echo "checked";
}
?>
Replace red text with the actual checkbox name and value you are testing for.
Last edited by tdr on Sun Nov 15, 2009 10:50 am, edited 1 time in total.
- Navaldesign
-
- Posts: 862
- Joined: Sat Mar 01, 2008 8:08 pm
- Location: Italy
- Contact:
tdr wrote:say for example I have an editbox on a form called BusinessName.
The user types in Joe's Pizza and clicks submit.
DBTS preview correctly displays the data as Joe's Pizza in the table, but if I use the variable name somewhere else on the same page, I get Joe\'s Pizza.
I am using this code:
Your business name is '.$BusinessName.'
Before Tag:
<?
echo'
After Tag:
';
?>
Result:
Your business name is Joe\'s Pizza
How do I fix this? thanks.
Your business name is '.stripslashes($BusinessName).'
www.dbtechnosystems.com
Re: test drive
"Navaldesign"
I was trying several different forms if I understand your first question correctly. So if you pulled down all the pages under "formtest", you would have seen all of my experiments. I will go back this afternoon and start over.
I just put up the editboxes very quickly to see if they would submit with the test that I typed into them. I gather you are saying that I should not have done that?
Thanks, you are a genius, but beyond that, also a very kind person to help so many. I will soon be sending you a donation through your site.
But, WHY did you use a separate page and not your own form page ?
And WHY did you add these editboxes ? for what purpose?
I was trying several different forms if I understand your first question correctly. So if you pulled down all the pages under "formtest", you would have seen all of my experiments. I will go back this afternoon and start over.
I just put up the editboxes very quickly to see if they would submit with the test that I typed into them. I gather you are saying that I should not have done that?
Thanks, you are a genius, but beyond that, also a very kind person to help so many. I will soon be sending you a donation through your site.
Loss of data
Hi Navaldesign
Probably been answered some where in the 26 pages but cant seem to find an easy way to locate it.
Anyway back to why I'm here, If you make an error when you submit, and press the back button all information entered is gone how can you stop this from happening.
Probably been answered some where in the 26 pages but cant seem to find an easy way to locate it.
Anyway back to why I'm here, If you make an error when you submit, and press the back button all information entered is gone how can you stop this from happening.