dotCMS Legacy Form Builder - Captcha?

170 views
Skip to first unread message

Alex

unread,
Jul 11, 2012, 11:00:22 AM7/11/12
to dot...@googlegroups.com
Hi,

Does the legacy form builder have a captcha box? If so, can I just
make it appear on some specific forms. How?

I want to ensure that a human submits the form.

Thanks,

Alex

Nathan Keiter

unread,
Jul 11, 2012, 11:10:10 AM7/11/12
to dot...@googlegroups.com
When I wrote the Form Builder 2.7 release it did not support Captcha. We
are still using dotCMS 1.7, so I don't know if it was modified in later
versions of dotCMS (1.9 or 2.0.)

Odds are you would have to manually add the Captcha fields to legacy forms.

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.
--
You received this message because you are subscribed to the Google Groups
"dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en.


Alex

unread,
Jul 11, 2012, 11:10:43 AM7/11/12
to dot...@googlegroups.com
I am on 2.0.1. Do you have a sample on how to add it? There is
nothing in the Legacy Form Builder or documentation that indicates how
this could be done.

Nathan Keiter

unread,
Jul 11, 2012, 11:15:30 AM7/11/12
to dot...@googlegroups.com

Alex

unread,
Jul 11, 2012, 11:40:14 AM7/11/12
to dot...@googlegroups.com
Thank you! I thought that referred to the Forms in 2.0, not the
legacy form builder.

I will try it. Thanks!

Alex

Nathan Keiter

unread,
Jul 11, 2012, 11:53:41 AM7/11/12
to dot...@googlegroups.com
Hi Alex,

If it doesn't work you can change the struts action to which the form
submits to a different form engine version. "/dotCMS/submitWebForm" and
"/dotCMS/sendEmail" are two available engine options I know of. (But I'm
still on 1.7)

You could track down the most recent engine by using the new form system
and looking at the source code, but I don't know if the new engine is
backwards compatible.

Let me know how it goes.

Thanks,

Chris Falzone

unread,
Jul 11, 2012, 11:59:17 AM7/11/12
to dot...@googlegroups.com
The doc Nathan linked to is for the Legacy Form Builder.  There is also a property in the dotmarketing-config to force captcha for all legacy forms.  You'll want to use the submitWebForm action for your legacy forms.

Nathan Keiter

unread,
Jul 11, 2012, 1:20:09 PM7/11/12
to dot...@googlegroups.com
Hi Chris,

When we do upgrade to 1.9, are we going to have to change all the actions on our custom web forms to submitWebForm?

Thanks,

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.


From: Chris Falzone <chris....@dotcms.com<mailto:chris....@dotcms.com>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Date: Wednesday, July 11, 2012 11:59 AM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Subject: Re: [dotcms] dotCMS Legacy Form Builder - Captcha?

The doc Nathan linked to is for the Legacy Form Builder. There is also a property in the dotmarketing-config to force captcha for all legacy forms. You'll want to use the submitWebForm action for your legacy forms.

On Wed, Jul 11, 2012 at 11:53 AM, Nathan Keiter <nke...@gettysburg.edu<mailto:nke...@gettysburg.edu>> wrote:
Hi Alex,

If it doesn't work you can change the struts action to which the form
submits to a different form engine version. "/dotCMS/submitWebForm" and
"/dotCMS/sendEmail" are two available engine options I know of. (But I'm
still on 1.7)

You could track down the most recent engine by using the new form system
and looking at the source code, but I don't know if the new engine is
backwards compatible.

Let me know how it goes.

Thanks,

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993<tel:717-337-6993>

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.







-----Original Message-----
From: Alex <alex.t...@ambix.net<mailto:alex.t...@ambix.net>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Date: Wednesday, July 11, 2012 11:40 AM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Subject: Re: [dotcms] dotCMS Legacy Form Builder - Captcha?

Thank you! I thought that referred to the Forms in 2.0, not the
legacy form builder.

I will try it. Thanks!

Alex
On Jul 11, 2012, at 9:15 AM, Nathan Keiter wrote:

> http://dotcms.com/docs/2.0/CaptchaFormValidation
>
> Nathan
>
> Nathan I. Keiter
> Network Applications Programmer
> DataSystems
> Gettysburg College
> Campus Box 2453
> 717-337-6993<tel:717-337-6993>
>> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
>> To unsubscribe from this group, send email to
>> dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>.
>> For more options, visit this group at
>> http://groups.google.com/group/dotcms?hl=en.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "dotCMS User Group" group.
>> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
>> To unsubscribe from this group, send email to
>> dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/dotcms?hl=en
>> .
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups
> "dotCMS User Group" group.
> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
> To unsubscribe from this group, send email to
> dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/dotcms?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "dotCMS User Group" group.
> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
> To unsubscribe from this group, send email to
>dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/dotcms?hl=en
> .
>

--
You received this message because you are subscribed to the Google Groups
"dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en.


--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.



--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com>.

Maria Ahues Bouza

unread,
Jul 11, 2012, 1:30:55 PM7/11/12
to dot...@googlegroups.com
Nathan,

You don't need to modify them when upgrading. sendEmail is still defined in 1.9 and 2.0.

We do recommend though when upgrading to start migrating the forms to the Form Builder instead.

Thanks
Maria

To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.




--
Community Manager

dotCMS
Main: 305.900.2001
Fax: 305.397.2579
www.dotcms.com
http://www.twitter.com/dotCMS
http://www.facebook.com/dotCMS
http://www.twitter.com/mabouza

Please consider the planet before printing this email.

Nathan Keiter

unread,
Jul 11, 2012, 1:39:44 PM7/11/12
to dot...@googlegroups.com
Thanks Chris,

I haven't looked under the hood in a while, didn't realized the mapped to the same class.

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.


From: Chris Falzone <chris....@dotcms.com<mailto:chris....@dotcms.com>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Date: Wednesday, July 11, 2012 1:35 PM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com>>
Subject: Re: [dotcms] dotCMS Legacy Form Builder - Captcha?

They are both mapped to the same class I believe: https://github.com/dotCMS/dotCMS/blob/master/dotCMS/WEB-INF/struts-cms.xml


<action path="/submitWebForm" type="com.dotmarketing.cms.webforms.action.SubmitWebFormAction" parameter="dispatch" name="webForm">
<forward name="thankYouPage" path="/" />
</action>

<action path="/sendEmail" type="com.dotmarketing.cms.webforms.action.SubmitWebFormAction" parameter="dispatch" name="webForm">
<forward name="thankYouPage" path="/global/thankyou.html" />
</action>

On Wed, Jul 11, 2012 at 1:30 PM, Maria Ahues Bouza <ma...@dotcms.com<mailto:ma...@dotcms.com>> wrote:
Nathan,

You don't need to modify them when upgrading. sendEmail is still defined in 1.9 and 2.0.

We do recommend though when upgrading to start migrating the forms to the Form Builder instead.

Thanks
Maria


On Wed, Jul 11, 2012 at 10:20 AM, Nathan Keiter <nke...@gettysburg.edu<mailto:nke...@gettysburg.edu>> wrote:
Hi Chris,

When we do upgrade to 1.9, are we going to have to change all the actions on our custom web forms to submitWebForm?

Thanks,

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993<tel:717-337-6993>

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.


From: Chris Falzone <chris....@dotcms.com<mailto:chris....@dotcms.com><mailto:chris....@dotcms.com<mailto:chris....@dotcms.com>>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
Date: Wednesday, July 11, 2012 11:59 AM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
Subject: Re: [dotcms] dotCMS Legacy Form Builder - Captcha?

The doc Nathan linked to is for the Legacy Form Builder. There is also a property in the dotmarketing-config to force captcha for all legacy forms. You'll want to use the submitWebForm action for your legacy forms.

On Wed, Jul 11, 2012 at 11:53 AM, Nathan Keiter <nke...@gettysburg.edu<mailto:nke...@gettysburg.edu><mailto:nke...@gettysburg.edu<mailto:nke...@gettysburg.edu>>> wrote:
Hi Alex,

If it doesn't work you can change the struts action to which the form
submits to a different form engine version. "/dotCMS/submitWebForm" and
"/dotCMS/sendEmail" are two available engine options I know of. (But I'm
still on 1.7)

You could track down the most recent engine by using the new form system
and looking at the source code, but I don't know if the new engine is
backwards compatible.

Let me know how it goes.

Thanks,

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993<tel:717-337-6993><tel:717-337-6993<tel:717-337-6993>>

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.







-----Original Message-----
From: Alex <alex.t...@ambix.net<mailto:alex.t...@ambix.net><mailto:alex.t...@ambix.net<mailto:alex.t...@ambix.net>>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
Date: Wednesday, July 11, 2012 11:40 AM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
Subject: Re: [dotcms] dotCMS Legacy Form Builder - Captcha?

Thank you! I thought that referred to the Forms in 2.0, not the
legacy form builder.

I will try it. Thanks!

Alex
On Jul 11, 2012, at 9:15 AM, Nathan Keiter wrote:

> http://dotcms.com/docs/2.0/CaptchaFormValidation
>
> Nathan
>
> Nathan I. Keiter
> Network Applications Programmer
> DataSystems
> Gettysburg College
> Campus Box 2453
> 717-337-6993<tel:717-337-6993><tel:717-337-6993<tel:717-337-6993>>
>> 717-337-6993<tel:717-337-6993>
>>
>> Measure your success by the level of service you provide.
>> Si hoc legere scis nimium eruditionis habes.
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Alex <alex.t...@ambix.net<mailto:alex.t...@ambix.net><mailto:alex.t...@ambix.net<mailto:alex.t...@ambix.net>>>
>> Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
>> Date: Wednesday, July 11, 2012 11:00 AM
>> To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
>> Subject: [dotcms] dotCMS Legacy Form Builder - Captcha?
>>
>> Hi,
>>
>> Does the legacy form builder have a captcha box? If so, can I just
>> make it appear on some specific forms. How?
>>
>> I want to ensure that a human submits the form.
>>
>> Thanks,
>>
>> Alex
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups
>> "dotCMS User Group" group.
>> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
>> To unsubscribe from this group, send email to
>> dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
>> For more options, visit this group at
>> http://groups.google.com/group/dotcms?hl=en.
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "dotCMS User Group" group.
>> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
>> To unsubscribe from this group, send email to
>> dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/dotcms?hl=en
>> .
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups
> "dotCMS User Group" group.
> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
> To unsubscribe from this group, send email to
> dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
> For more options, visit this group at
> http://groups.google.com/group/dotcms?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "dotCMS User Group" group.
> To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
> To unsubscribe from this group, send email to
>dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>
> .
> For more options, visit this group at
>http://groups.google.com/group/dotcms?hl=en
> .
>

--
You received this message because you are subscribed to the Google Groups
"dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en.


--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.



--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.

--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.




--
Community Manager

dotCMS
Main: 305.900.2001<tel:305.900.2001>
Fax: 305.397.2579<tel:305.397.2579>
www.dotcms.com<http://www.dotcms.com>

Alex

unread,
Jul 12, 2012, 10:04:44 PM7/12/12
to dot...@googlegroups.com
Hi, Nathan:

I have set on my dotmarketing:

FORCE_CAPTCHA=false

However, I have set up a captcha in one form and it submits the content without captcha verification.  Is there a way to enforce it even if it is set to false in the 
dotmarketing-config.properties?  I tried the code in the demo and it works.  Here is what I put on the demo:


<input type="hidden" id="useCaptcha" name=" useCaptcha" value="true" />


<input type="hidden" id="invalidCaptchaReturnUrl" name="invalidCaptchaReturnUrl"


value="myURL" />


<img src="/Captcha.jpg?${math.getRandom()}" style="margin:0px 15px 15px 0px;">


<input class="inputText" id="captcha" name="captcha" style="margin: 8px 15px 0pt 5px" class="text" type="text" value="">


To post to this group, send email to dot...@googlegroups.com.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com.

Alex

unread,
Jul 12, 2012, 11:42:52 PM7/12/12
to dot...@googlegroups.com
I am further reading and found here:  http://dotcms.com/docs/2.0/ContentForms

However, the captcha functionality requires certain files that can be found in the following directory:
/dotCMS/WEB-INF/endorsed_libs
I checked my installation and I do not have those files.  I checked github:  https://github.com/dotCMS/dotCMS/tree/master/dotCMS/WEB-INF and it is not there either.

Any help is welcome!

Alex

Nathan Keiter

unread,
Jul 13, 2012, 8:52:40 AM7/13/12
to dot...@googlegroups.com
Hi Alex, thanks for the follow-up. I'll have to let the folks at dotCMS handle this one. I'm not familiar with the captcha configuration settings and installation. I wrote the legacy form builder about 5 years ago, before captcha use was prevalent among dotCMS users. The Form Builder may have been written back in the days of dotCMS 1.2 or 1.5, I forget what version we were on at the time.

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.


From: Chris Falzone <chris....@dotcms.com<mailto:chris....@dotcms.com><mailto:chris....@dotcms.com>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com>>
Date: Wednesday, July 11, 2012 1:35 PM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com>>
Subject: Re: [dotcms] dotCMS Legacy Form Builder - Captcha?

They are both mapped to the same class I believe: https://github.com/dotCMS/dotCMS/blob/master/dotCMS/WEB-INF/struts-cms.xml


<action path="/submitWebForm" type="com.dotmarketing.cms.webforms.action.SubmitWebFormAction" parameter="dispatch" name="webForm">
<forward name="thankYouPage" path="/" />
</action>

<action path="/sendEmail" type="com.dotmarketing.cms.webforms.action.SubmitWebFormAction" parameter="dispatch" name="webForm">
<forward name="thankYouPage" path="/global/thankyou.html" />
</action>

On Wed, Jul 11, 2012 at 1:30 PM, Maria Ahues Bouza <ma...@dotcms.com<mailto:ma...@dotcms.com><mailto:ma...@dotcms.com>> wrote:
Nathan,

You don't need to modify them when upgrading. sendEmail is still defined in 1.9 and 2.0.

We do recommend though when upgrading to start migrating the forms to the Form Builder instead.

Thanks
Maria


On Wed, Jul 11, 2012 at 10:20 AM, Nathan Keiter <nke...@gettysburg.edu<mailto:nke...@gettysburg.edu><mailto:nke...@gettysburg.edu>> wrote:
Hi Chris,

When we do upgrade to 1.9, are we going to have to change all the actions on our custom web forms to submitWebForm?

Thanks,

Nathan

Nathan I. Keiter
Network Applications Programmer
DataSystems
Gettysburg College
Campus Box 2453
717-337-6993<tel:717-337-6993>

Measure your success by the level of service you provide.
Si hoc legere scis nimium eruditionis habes.


From: Chris Falzone <chris....@dotcms.com<mailto:chris....@dotcms.com><mailto:chris....@dotcms.com><mailto:chris....@dotcms.com<mailto:chris....@dotcms.com>>>
Reply-To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
Date: Wednesday, July 11, 2012 11:59 AM
To: "dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>" <dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>>
Subject: Re: [dotcms] dotCMS Legacy Form Builder - Captcha?

The doc Nathan linked to is for the Legacy Form Builder. There is also a property in the dotmarketing-config to force captcha for all legacy forms. You'll want to use the submitWebForm action for your legacy forms.

To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en.


--
You received this message because you are subscribed to the Google
Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>
.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en
.


--
You received this message because you are subscribed to the Google
Groups
"dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en.


--
You received this message because you are subscribed to the Google
Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>
.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en
.


--
You received this message because you are subscribed to the Google Groups
"dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to
dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
For more options, visit this group at
http://groups.google.com/group/dotcms?hl=en.


--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com<mailto:dotcms%252Buns...@googlegroups.com>>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.



--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com<mailto:dot...@googlegroups.com>>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com><mailto:dotcms+un...@googlegroups.com<mailto:dotcms%2Bunsu...@googlegroups.com>>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.

--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.




--
Community Manager

dotCMS
Main: 305.900.2001<tel:305.900.2001>
Fax: 305.397.2579<tel:305.397.2579>
www.dotcms.com<http://www.dotcms.com><http://www.dotcms.com>
http://www.twitter.com/dotCMS
http://www.facebook.com/dotCMS
http://www.twitter.com/mabouza

Please consider the planet before printing this email.


--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms%2Bunsu...@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/dotcms?hl=en.


--
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To post to this group, send email to dot...@googlegroups.com<mailto:dot...@googlegroups.com><mailto:dot...@googlegroups.com>.
To unsubscribe from this group, send email to dotcms+un...@googlegroups.com<mailto:dotcms+un...@googlegroups.com><mailto:dotcms+un...@googlegroups.com>.

Maria Ahues Bouza

unread,
Jul 13, 2012, 5:48:35 PM7/13/12
to dot...@googlegroups.com
Alex,

I'm going to test locally and let you know what I find out 

Thanks
Maria

Alex

unread,
Jul 13, 2012, 6:36:54 PM7/13/12
to dot...@googlegroups.com
Thanks Maria!

Basically, I want to know if I can enforce captcha to an individual form while having the general setting in the dotmarketing properties as Captcha="false."  

Thanks again!

Alex

Maria Ahues Bouza

unread,
Jul 20, 2012, 6:57:46 PM7/20/12
to dot...@googlegroups.com
Alex,

Yes that should work, you should be able to have a required Captcha field on a form and not have the properties field true. Let me know if it's still not working and I'll test on Monday.

Thanks
Maria
Fax: 305.397.2579
www.dotcms.com

Alex

unread,
Jul 20, 2012, 9:42:11 PM7/20/12
to dot...@googlegroups.com
After so many tests, I found out what is wrong.  


<input type="hidden" id="useCaptcha" name=" useCaptcha" value="true" />


There is a space after the name="SPACE useCaptcha".  If I delete the space, the captcha validates.  I do not know if any other character was copied on the copy/paste process of the code.

However, when it returns the user to the invalid captcha return URL, it does not display any message on the form telling the user that the input does not match the image or it  is not valid.  It does output an error on the URI: ?error=Validation-Image.  Is this an error return that I need to configure on the form ?


Thanks,


Alex


Reply all
Reply to author
Forward
0 new messages