Not signed in (Sign In)

Vanilla 1.1.5a is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorurizenxvii
    • CommentTimeMar 15th 2011 edited
     
    Is there any way for the forms to generate (using a timestamp and the results from an entry field) a unique or semi-unique alphanumeric key that could be passed to another user for entry in another form? We want to have students fill out a form and then send the link to the faculty form along with a key that tells the faculty (through the second form) whether or not the student selected confidential or nonconfidential letters of recommendation.
    • CommentAuthordbuschho
    • CommentTimeMar 16th 2011
     
    Hello,

    There is a way to do this with the Professional plan.

    1. Place this function in your custom code block:
    <script>
    function _now(){
    return String(new Date().getTime());
    }
    </script>

    2. Declare your confidential field as a variable (say CONFID), and provide a key value for each choice.

    2. Create a hidden field in your form, and place the formula:
    _now() +"_"+ CONFID;

    3. Place an alias reference to that field in your thank-you page / email notifications.
    Entry Code: %%tfa_HiddenField%%
    which would render to:
    Entry Code: 12922992229_YESCONDFIDENTIAL

    Happy to help further,
    FA Support.
    FormAssembly.com