• Resolved Lindsay Heydon

    (@lindsay-heydon)


    I don’t mind saving to a cookie, as long as data isn’t lost when page refreshes. I’m not sure how to do this though? User’s will be logged in.

    I did read your help, but still a bit lost. There will be a lot of fields on my page (about 200). Will this be practical and will I be able to do using CFF?

    Could you explain the below in more details if it’s a solution? Sorry.
    [CP_CALCULATED_FIELDS_VAR name=”variable_name” from=”cookie”]

    In the previous shortcode the variable_name text should be replaced by the name of the session variable. For example: myVar

    [CP_CALCULATED_FIELDS_VAR name=”myVar” from=”cookie”]

    At this point has been created a javascript variable, with the same name of the cookie variable, myVar, with a global scope.

    Now, you simply should use the new variable directly in the equation, for example: fieldname1*myVar, or any other equation.

    https://www.ads-software.com/plugins/calculated-fields-form/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    If you want that the users can submit the form, and then modify the submitted data, you should check the “Users” add-on, distributed with the developer and platinum versions of the plugin (https://cff.dwbooster.com/documentation#users-addon).

    The plugin allows to use values stored on cookies in the equations, like the description included in the ticket, but the plugin does not generate the cookies.

    Best regards.

    Thread Starter Lindsay Heydon

    (@lindsay-heydon)

    OK, the add on sounds ideal in that logged in users will save their forms so they can log out and then return to them and not have lost any data previously submitted.

    I’m more than happy to buy it but it absolutely must work for me in conjunction with another plugin suite called Toolset (https://wp-types.com/).

    If I buy this and it doesn’t work do you have a refund policy at all – or is their a limited trial version I could use to check compatibility? It’s only the Users add-on I need.

    Many thanks.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Please, read the refund policy in our website (https://cff.dwbooster.com), and checks the “Users” add-on, from our demo website.

    Best regards.

    Thread Starter Lindsay Heydon

    (@lindsay-heydon)

    I checked the Users add on but it does not seem to save the data on the screen? Can you confirm it would do this please. I want logged on users to be able to save their form and return to it at a later date – the form needs to have retained any entries the user had made previously.

    I can’t test it would work with toolset either from the demo site?

    Many thanks.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    The add-on allows to insert a new shortcode:

    [CP_CALCULATED_FIELDS_USER_SUBMISSIONS_LIST]

    The shortcode should be inserted in a webpage visited by your users. The shortcode is replaced by all submissions related with the user, and if you the add-on was configured to allow the users edit the submitted data, each row will include an “Edit” button to load the form pre-populated with the data to be modified.

    Best regards.

    Thread Starter Lindsay Heydon

    (@lindsay-heydon)

    So the shortcode [CP_CALCULATED_FIELDS_USER_SUBMISSIONS_LIST] keeps exactly the original form created in CFF on display…. just one form – so if they came back twenty times they just see one form with their latest edits.

    The shortcode just provides an Edit button if they wanted to make adjustments??

    Sorry, just trying to make sure it’s what I want. I have installed your free version and the form I’ve created looks great. Just want to keep that exact same form and allow users to edit the same form I have in the free version… and for it to be saved and to be able to come back to it time and time again.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, exactly as you have described, however to check the add-on in action, visit our demo website, activate the add-on, configure it from a form in the website, and insert the shortcode in a new page.

    Best regards.

    Thread Starter Lindsay Heydon

    (@lindsay-heydon)

    OK… it doesn’t keep the data in the form… the form wipes out the user’s data entry when they come back to it.

    I get some data generated from the shortcode [CP_CALCULATED_FIELDS_USER_SUBMISSIONS_LIST] which produces the below… (can’t see an edit button). But nevertheless for a large grid type form with many, many rows that might be half filled out, where the user wants to return later probably numerous times to update I can’t see this is practical for my purposes.

    Id Form Date Options
    2 Calculation with Dates 2016-02-01 18:59
    Check-in: 02/03/2016
    Check-out: 02/03/2016
    Optional Services: Breakfast – $20
    Total Cost: 300
    Email: [email protected]

    1 Calculation with Dates 2016-02-01 18:52
    Check-in: 02/01/2016
    Check-out: 02/01/2016
    Optional Services: Breakfast – $20
    Total Cost: 30
    Email: [email protected]

    I wanted them just to be able to carry on and edit the original form (without losing their data that they had already entered).

    Thanks so much for your help though.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    Your list includes many entries because you’ve not configured the add-on correctly. Pay attention to the checkbox: “The form may be submitted only one time by user”, in the form’s settings.

    If the “Edit” button is not displayed, tick the checkbox: ” Edit the submitted data”, and press the “Save Changes” button.

    However, if you’re needing a custom behavior, do not hesitate in create a ticket through mi private support page, with a detailed description of the new features:

    https://cff.dwbooster.com/customization

    Best regards.

    Thread Starter Lindsay Heydon

    (@lindsay-heydon)

    OK, I really thank you for your help, it must be me – I’m still not getting it.

    I’ve changed so the form is submitted by one user and the Edit button is ticked by default anyway.

    What happens is I fill out the form on the screen and I’m redirected to a thankyou page. When I return to the form all my figures are cleared – I DO have a list underneath the form which I can Delete or Update, but the form itself clears.

    So can you confirm that there is no way your form will HOLD the data in the form itself when a logged in User returns to that page, or am I still missing something?

    Sincere thanks, and I apologise for being so dim ??

    Plugin Author codepeople

    (@codepeople)

    Hi,

    If you want the form be prepopulated with the data entered by the user in the past, you should to write some of code to assign values to the fields. Please, visit the following link with some tips and instructions:

    https://cff.dwbooster.com/documentation#populate-form

    Best regards.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Saving Data for logged in user’ is closed to new replies.