***UPDATED*** DB Technosystems Form Processor 02/09/2011

In this section you can share self-made extensions with other users of WYSIWYG Web Builder.
There is a dedicated section for commercial extensions.
Post Reply
User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 8:17 am

Naval...
http://lucknowwebs.com.au/check/page1.php
The settings for each page as under(screenshots):
http://lucknowwebs.com.au/cheeck/page1.jpg
http://lucknowwebs.com.au/cheeck/page2.jpg
http://lucknowwebs.com.au/cheeck/page3.jpg
This trial system is in a folder 'cheeck' and the cost.php is kept in it.

The issue is when the form is finally being submitted, the data from page1.php is not coming in the email and the page2.php data is starting with the total cost (which is supposed to go at the end of page2.php data)and the submit button of page2 is being displayed as a field.

See the screen shot of the mail here:
http://lucknowwebs.com.au/cheeck/mailtoadmin.jpg
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
Navaldesign
 
 
Posts: 903
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Aug 02, 2009 8:26 am

Did you update the extension / republished as i advised ?
www.dbtechnosystems.com

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 8:28 am

Yes, I suppose this is the latest update you uploaded and when I uploaded it to the trial folder, I did a 'full upload'
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 8:49 am

:Update:
Naval,
Actually if you look at the mail screen shot...

http://lucknowwebs.com.au/cheeck/mailtoadmin.jpg

it is sending the data of all the three forms but in a different order...
page2.php first (starting with the total value)
page1.php second (starting from 'Name')
page3.php third (starting from 'Need hosting at.....')

Further, after rectifying this anyway I can highlight the text or the field "Total cost" in the HTML email?
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
Navaldesign
 
 
Posts: 903
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Aug 02, 2009 9:02 am

I update the extension approx 40 mins ago based on your remarks.

Did you update in the last 40 mins ???
www.dbtechnosystems.com

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 9:25 am

Oh no I didnt do it before 40mins... I will do it now and come back to you again
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 9:44 am

Ok, I updated kept the settings of all the pages same as in the earlier posts..(check the jpeg)
http://lucknowwebs.com.au/cheeck/page1.jpg
http://lucknowwebs.com.au/cheeck/page2.jpg
http://lucknowwebs.com.au/cheeck/page3.jpg

Still not correct...this is the mail I got:
http://lucknowwebs.com.au/cheeck/mailtoadmin2.jpg
Please check that...it doesnt send the total cost and the page1.php part of the form is missing

Further in the settings, I have 'Yes' for sending mail to admin and automail on the page1.php and page2.php, I suppose I need to remove that. It is sending a mail moment any of the pages are submitted.
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
Navaldesign
 
 
Posts: 903
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Aug 02, 2009 9:53 am

Sure....
You changed folder and you didn't copy the "cost.php" file.

And, in page 1, you have NOT set the "Copy in Session" to be "Yes" . You have set the "Copy From Session" to be "Yes".
www.dbtechnosystems.com

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 10:29 am

Thanks Naval,
Thanks for pointing out the errors ...it seems to work perfect only that the first form Submit button (Button1 Submit) is coming as a field in the email.(Wonder why it is coming while the same button on form 2 isnt coming that way!)
Also please tell me how I can highlight the field "Total Cost" in the email...with some colour in text or background maybe.
Please see the screen shot of the email:

http://lucknowwebs.com.au/cheeck/mailtoadmin3.jpg
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
Navaldesign
 
 
Posts: 903
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Aug 02, 2009 10:58 am

The button is included in the fields because you didn't name it "submit" as the manual instructs, you have left the default name "Button1"

If it is the same in the other pages too, only one value is received, so check also your other pages.

There is no way to highlight a specific cell of the HTML email directly from the script settings as this is not a planned function.

You can, however, try this, in your "cost.php"


$fieldvalue[] = "<font style=\"background-color:#FFFF00\">."$". $total."</font>";
www.dbtechnosystems.com

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 12:01 pm

Naval,
Renamed it to submit and that was rectified!
I wonder how you seem to know everything...Thanks a lot!

One thing....
Navaldesign wrote:You can, however, try this, in your "cost.php"


$fieldvalue[] = "<font style="background-color:#FFFF00">."$". $total."</font>";
Getting this error with this line:

Code: Select all

Parse error: syntax error, unexpected '$' in /home2/lucknoww/public_html/lucknowwebs.com.au/cheeck/cost.php on line 41

Line 41 is the line that was edited
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
Navaldesign
 
 
Posts: 903
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Aug 02, 2009 12:43 pm

Sorry, my mistake:

$fieldvalue[] = "<font style=\"background-color:#FFFF00\">$". $total."</font>";
www.dbtechnosystems.com

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 12:50 pm

Thanks let me try that
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
me.prosenjeet
 
 
Posts: 1302
Joined: Mon Dec 24, 2007 1:50 pm
Location: Lucknow
Contact:

Post by me.prosenjeet » Sun Aug 02, 2009 4:12 pm

Naval,
There is an issue with that code you sent.
Whenever, I tried replacing the original -
$fieldvalue[] = "$". $total;
with this-
$fieldvalue[] = "<font style=\"background-color:#FFFF00\">$". $total."</font>";
--First, the mail that comes after submitting the form is going to the spam folder and thats not good.
--Second, the added background colour is not showing and it shows as it was before

Any suggestions?
.
Click here to check my Pro WB Extensions
Click here to check my Pro WB Templates
---------------------------------------------------------
www.Lucknowwebs.com
---------------------------------------------------------

User avatar
Navaldesign
 
 
Posts: 903
Joined: Sat Mar 01, 2008 8:08 pm
Location: Italy
Contact:

Post by Navaldesign » Sun Aug 02, 2009 4:37 pm

I can't answer you on why it goes to the spam folder simply because we add a background color to a field text! It makes no sense.

I have still your login details, I'll check for myself.
www.dbtechnosystems.com

Post Reply