Saving to Database Option and DynamicRegistration_QuestionResponse table
Last Post 10-28-2011 03:30 PM by Candace. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Antony (WEBPC)User is Offline
river guide
river guide
Posts:158
Avatar

--
10-16-2011 11:43 PM
    Looking for some clarifications 

    The 'Do not save field results to the database' question option.  Does this option only refer to saving the field value to the DynamicRegistration_QuestionResponse table? 

    So if all questions are attached to DNN profile fields this option can be set to true?  Except if the DR form is being submitted to a payment gateway in which case ALL questions should have this option not set (false)?

    If the 'Do not save field results to the database' is not checked then a value is saved to the DynamicRegistration_QuestionResponse table as well as a DNN user profile field.  On the subsequent edit of the user if the DNN profile value has been deleted (via another DR form or other mechanism), DR loads the value from the DynamicRegistration_QuestionResponse table instead of no value. This seems wrong to me.  I would expect that if a question is attached to a DNN profile field it should always ignore any value in the DynamicRegistration_QuestionResponse table and pull the value from the DNN User profile field, or when there is no value in the DNN profile field it should use the 'default' set for the question.  The only exception being when the DR form is processing a Payment gateway response.

    Looking forward to hear.

    Antony
    Antony (WEBPC)User is Offline
    river guide
    river guide
    Posts:158
    Avatar

    --
    10-28-2011 06:26 AM
    Posted By Antony (WEBPC) on 10-17-2011 01:43 AM
    Looking for some clarifications 

    The 'Do not save field results to the database' question option.  Does this option only refer to saving the field value to the DynamicRegistration_QuestionResponse table? 

    So if all questions are attached to DNN profile fields this option can be set to true?  Except if the DR form is being submitted to a payment gateway in which case ALL questions should have this option not set (false)?

    If the 'Do not save field results to the database' is not checked then a value is saved to the DynamicRegistration_QuestionResponse table as well as a DNN user profile field.  On the subsequent edit of the user if the DNN profile value has been deleted (via another DR form or other mechanism), DR loads the value from the DynamicRegistration_QuestionResponse table instead of no value. This seems wrong to me.  I would expect that if a question is attached to a DNN profile field it should always ignore any value in the DynamicRegistration_QuestionResponse table and pull the value from the DNN User profile field, or when there is no value in the DNN profile field it should use the 'default' set for the question.  The only exception being when the DR form is processing a Payment gateway response.

    Looking forward to hear.

    Antony
    bump

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    10-28-2011 03:30 PM
    Hi Antony,

    How are you? As far as I know, it's not supposed to save to the DR tables and the profile property if the 'do not save to db' is enabled, even if the field is mapped to a property. I haven't personally tested this but I believe this is how it's meant to work.

    However, your case is different. And you're right, if it's mapped to a profile property AND the 'do not save to db' is NOT enabled, it should always pull from the profile property. Now, if you're using multiple instances of the DR across your site, then you need to make sure that the fields are all mapped to the same profile property.

    So, if it's behaving differently, we need to dig a little deeper:

    1. What is your exact module version?
    2. What DNN version are you on?
    3. Can you duplicate this on our test site? www.betasprings.com || dnnhost (let us know what happens and the URL to your test page(s) so we can review.

    Thanks!
    Candace


    ---
  • 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