Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • praveity 100 posts 125 karma points
    Apr 29, 2012 @ 20:16
    praveity
    0

    Get the fieldset id based on partiallysubmitted record id

    Hi to all,

    The title explain itself. Basically  I am trying to identify with step of the the multi step contour form currently I am.

    If any of the record is resumed, it comes to the same step that was previously opened, I need to know the step so that it could be possible to show different content based on the step. i.e. if step 1 is there show the content from first child of certain doctype from content section, and so on.

    Is there any possible way that I could acheive this.

    So far I got the recordid from the "ufrecord" which is there in cookie on partiallysubmitted; But couldn't get the fieldset id where it was resumed. 

    I have tried to work on the following code on razor.

        FormStorage frmStr=new FormStorage();
        Form ff = frmStr.GetForm("Form Name");
        var cookie=umbraco.library.RequestCookies("contour_" + nodeId + "_" + ff.Id);

    this gives me the record id on cookie variable, but how to fieldset id i.e. the ID of particular step

     

     

  • Comment author was deleted

    Apr 30, 2012 @ 10:29

    Hey you wont find it on the form you'll need to look on the record

  • praveity 100 posts 125 karma points
    Apr 30, 2012 @ 13:05
    praveity
    0

    I just played with the custom xsltextension to query the table and then get the record id. So far it fine  :)

    I am thinking is there anyway we could get the wizard step we are currently out of box in Contour?

     

    Its extremely urgent for me so can you help me out on this.

Please Sign in or register to post replies

Write your reply to:

Draft