Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Atuo-redirect when a user has already filled in form (cookie?)
Last Post 01-19-2010 10:46 AM by Chad Nash. 2 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
GeishaMXUser is Offline
wading in the water
wading in the water
Posts:29
Avatar

--
01-15-2010 04:59 AM

     I need to have a form with the following fields:

    First name

    last name

    email

    city

    Once a user has filled this in once, they should be redirected automatically (currently it is on submit only) to a specific page.

    I already have the information populating a cookie. I believe we will need to use a boolean hidden field called "isRegistered", do I need to set up some javascript to force submit?

    Any assistance would be appreciated!

    ^_^

    Richard BaileyUser is Offline
    going with the flow
    going with the flow
    Posts:66
    Avatar

    --
    01-15-2010 08:54 AM
    I don't know if it would work... but wouldn't be hard to test:

    the logical answer would be that the initial java could request from a cookie for the value (e.g. isRegistered)


    if $(isRegistered) == 1 {
    window.location = 'http://www.yourdomain.com/page.html'
    }


    But, I honestly don't know if that will actually work - I've had a hell of a time getting any of the client-side java stuff to work as it says it should.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    01-19-2010 10:46 AM
    Hi. I think Richard is on the right track here. Either in the page header (under page settings in DNN) or within the initial JavaScript you could check the cookie value and then do the redirect as Richard suggested. I don't really think you would need to use Dynamic Forms tokens but its possible...

    I would check this out:
    http://www.w3schools.com/JS/js_cookies.asp

    And look at the function to get a cookie. You could include that in the custom javascript file or just use the logic and then use the window.location that richard posted.

    Just an FYI on $(Tokens)... basically Dynamic Forms just replaces $(ShortField) with the value of that field, and it just replaces $(ShortField_FieldID) with the actual HTML field ID... so, its not really magic... Just JavaScript going on here which can be frustrating sometimes because it is case sensitive and although very powerful its basically its own programming language. If you do run into problems I would download FireBug for FireFox, its an app that we use here all of the time when working on client side events.

    -Chad
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi