Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Thursday, November 20, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Samples and other shared info.

Subject: Terms and Conditions Checkbox Validation Example

You are not authorized to post a reply.   
Author Messages
rtonerii
Superweight
Posts:305

01/17/2007 4:54 PM Alert 
I was looking a while ago for a way to use LX an validate that a Checkbox has been checked. I did not find one and I just wanted to load an example LP I made that does do it. I am also using the expander function to hide the disclaimer.

Rick


ferdbiffle
Cruiserweight
Posts:128

01/18/2007 12:35 AM Alert 
Hey Rick!

Thanks for the help... Where can I download the sample?

Eric

Traditional Flint Ridge Greeting:
It's not much of a house, but we have one hell of a basement!
rtonerii
Superweight
Posts:305

01/18/2007 8:31 AM Alert 
I'm sorry, I thought I attached it. Here is a link to a running example. http://demo.access-ct.com/ListXActExamples/TermsandConditionsCheckboxValidationExample/tabid/100/Default.aspx

I reattached it (I Hope it is here this time.

Rick


rtonerii
Superweight
Posts:305

01/18/2007 8:36 AM Alert 
<p>OK. For some reason it is not showing but here is a link to it.</p>
<p>
<a target="_blank" href="http://dnn.bi4ce.com/Portals/9/NTForums_Attach/TermsAndConditionsCheckboxValidationExample_v1.00.zip">
Attachment: TermsAndConditionsCheckboxValidationExample_v1.00.zip</a></p>
<p>
Here is the full URL if this get's stripped again.</p>
<p>
http://dnn.bi4ce.com/Portals/9/NTForums_Attach/TermsAndConditionsCheckboxValidationExample_v1.00.zip</p>
ferdbiffle
Cruiserweight
Posts:128

01/18/2007 7:38 PM Alert 
Senor Rick!

That was just what the Doctor ordered Hopefully I can return the favor sometime!

Yours in ListX appreciation,
Eric

Traditional Flint Ridge Greeting:
It's not much of a house, but we have one hell of a basement!
Coops
Welterweight
Posts:34

09/17/2007 9:49 PM Alert 
Bump

Can anyone find this example? I guess it went missing during the website redesign but has it been lost forever?

Paul
aterblanche
Lightweight
Posts:21

06/17/2008 2:22 AM Alert 
Hi
Has anyone found the example or know of another example of checkboc validation?
Thanks
aterblanche
Lightweight
Posts:21

06/17/2008 2:22 AM Alert 
Hi
Has anyone found the example or know of another example of checkboc validation?
Thanks
pauldes
Immortal
Posts:1392

06/17/2008 7:32 AM Alert 
Shouldn't be too hard....

If your HTML is

<input id="frmtandc" name="frmtandc" type="checkbox" value="1" {IIF,"'[frmtanc,Form]'='1'","checked",""} />
[aMessage,Action]
<button type="button" onclick="lxFetch([ModuleId,System],0,'DoSubmit=1'">Submit</button>

Then validate it with Actions

IF '[DoSubmit,Querystring]' = '1'
#IF '[frmtandc,Form]'=''
## Assign Action Variable aMessage to "<span class="normalred">Please accept terms and conditions to continue</span>"
#ELSE
## Do your intended follow on actions......

ListX....makes you look brilliant, even though you're not.
pmanda
Superweight
Posts:267

06/17/2008 1:49 PM Alert 
You can also do a customvalidation by a javascript function.

Praveena Manda
Software Engineer
Bi4ce,Inc
You are not authorized to post a reply.
Forums > Bi4ce.Modules.ListX > Samples and other shared info. > Terms and Conditions Checkbox Validation Example



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation