***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 are already more than 250 extensions available!
User avatar
chattd
 
 
Posts: 44
Joined: Wed Nov 26, 2008 7:03 pm

Post by chattd » Sun Nov 29, 2009 9:49 am

voltagenh wrote:ok. but then my question still remain,

when i drag this to stage, and publish

nothing shows :(
Hi
You need to set up a form first using the form section on the left hand side, get that to publish first make sure it works, then come back.

3 pages needed:
form.php
success.php or html
error.php or html
I made mine all php

example
http://dacsolutions.co.uk/form/
http://www.glendower.co.uk/enquiry_form.php

tdr
 
 
Posts: 28
Joined: Sat Sep 26, 2009 10:14 am

Post by tdr » Mon Nov 30, 2009 11:26 am

I would like to use DBTS form processor to handle user signup for a newsletter with recaptcha. As part of the signup I would like to validate user's email by having them enter it twice.
Where do I put the validation code so that it fires correctly when the submit button is clicked?

e.g.
form = form1
inputbox1 = email
inputbox2 = verify_email

I've seen elsewhere on this forum I could use javascript similar to below, but I am not sure where to insert it:

<script language="javascript">
document.forms[0].onsubmit = function()
{
if
(this.elements['email'].value != this.elements['verify_email'].value)
{
alert('emails do not match');
return false;
}

return true;
}
</script>


thanks much

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

Post by Navaldesign » Mon Nov 30, 2009 12:23 pm

Javascript acts on local (visitor's computer) level.

To validate through PHP you need to use the DBTS Form Processor ability to use custom includes.

The eventual error will be reported in the error page.
www.dbtechnosystems.com

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

Post by Navaldesign » Tue Dec 01, 2009 4:05 pm

If your extension manager says "Installed", right click the extensions toolbar and select "Reset Toolbar".

This should do the trick.
www.dbtechnosystems.com

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

Post by Navaldesign » Tue Dec 01, 2009 5:07 pm

Did you Reset the toolbox as suggested ? Sometimes new extensions will not show up until the toolbox (the extensions one!) is reset.

Also, after installation, you need to close and restart WB, then Reset toolbox.
www.dbtechnosystems.com

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

Post by Navaldesign » Tue Dec 01, 2009 8:13 pm

Sorry, but I don't know why this happens. I don't think it has anything to do with the extension itself. I suggest that you post in the Extensions forum as new topic, so Support can provide some guidance, if any.
www.dbtechnosystems.com

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

Post by Navaldesign » Tue Dec 01, 2009 10:02 pm

You must unzip and THEN install (or manually move the files in the program folder)
Then Restart WB
www.dbtechnosystems.com

tdr
 
 
Posts: 28
Joined: Sat Sep 26, 2009 10:14 am

Post by tdr » Wed Dec 02, 2009 3:48 am

Navaldesign wrote:Javascript acts on local (visitor's computer) level.

To validate through PHP you need to use the DBTS Form Processor ability to use custom includes.

The eventual error will be reported in the error page.
I've read the DBTS manual on custom includes but I am not really sure how to get started. Do you perhaps have any examples you have built that implement this kind of functionality that I could learn from? e.g. a form that does password setting with verify would be the same as what I need to do here.

thanks

User avatar
chattd
 
 
Posts: 44
Joined: Wed Nov 26, 2008 7:03 pm

order of fields

Post by chattd » Wed Dec 02, 2009 3:50 pm

Just added some extra text fields into my form, but when i recieve email they are not in the same order as i designed them, probably a simple solution but can't find it. please help. Also how can you get the form to check that both email address are the same

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

Post by Navaldesign » Wed Dec 02, 2009 5:10 pm

Fields Order: right click each field, Move to Front.

Repeat for all fields in the desired order.

Are you using DBTS Form Processor ? If yes, use a custom include to verify that the two email addresses are the same.
www.dbtechnosystems.com

User avatar
chattd
 
 
Posts: 44
Joined: Wed Nov 26, 2008 7:03 pm

Post by chattd » Wed Dec 02, 2009 5:26 pm

Field order sorted, as for ' use a custom include ' ??

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

Post by Navaldesign » Wed Dec 02, 2009 5:30 pm

It means that you need to write some code of your own, to perform this validation, and then save / upload it on your server, in the DBTS Form Processor/dbts_includes folder, and provide, in the extension properties, in the Includes section, the path to this file as Before Error Reporting Include.

The script will retrieve your code, it will perform the necessary validation, and if the two email addresses are not the same, it will report the error.
www.dbtechnosystems.com

User avatar
chattd
 
 
Posts: 44
Joined: Wed Nov 26, 2008 7:03 pm

Post by chattd » Wed Dec 02, 2009 6:10 pm

What if know nothing about writing code, would you help!

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

Post by Navaldesign » Wed Dec 02, 2009 6:21 pm

As stated in the Manual, this feature is for advanced users only, that can do some coding. Otherwise I would need to create the necessary code for any request that is made in this forum (starting from your own, going to credit card validations, to department submission, conditional submissions etc.... The list is endless..)

As you understand I can't provide such type of support... This is part of my professional doing. If you wish you can contact me on a private basis through my site form.
www.dbtechnosystems.com

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

Post by Navaldesign » Fri Dec 04, 2009 4:10 pm

I answered in one of your other threads.
www.dbtechnosystems.com

Post Reply