How do I allow Joomla registered users to edit their submission using Submission ID?

  • Profile Image
    Asked on August 06, 2015 at 02:08 AM

    I have created a form for current clients to provide their current situation details.  I'd like to allow them to create a username and password on my Joomla 2.5 website and access the form as a registered user.  Since I only want current clients to access the form, I can open the form, input their names, submit the form, and get the Submission ID for a specific client.

    I can then send the clients the Edit Submission link so that they can complete the form.  There is a "Is the questionnaire complete (yes/No)" question at the end of the form, with a default answer = "no".  I added a "save form" button at the beginning of the questionnaire to allow clients to save the form and continue at a later date, using the Edit Submission link. When they are done, they answer "Yes" to the "is the questionnaire complete" and receive an Auto Responder message.

    This approach works, but I would like to be able to enable client to have a Joomla user name and password as an extra layer of security.

    I'm assuming that for this to work I need to associate a Joomla registered user with the Submission ID.  I've got the form working using the Jincludes method. Any suggestions?  One potential solution is to have the client enter their username, password, and submission ID, and then build the form edit URL based on that info.



  • Profile Image
    Answered on August 06, 2015 at 03:37 AM

    I'm not sure if this is possible with JotForm, because:

    1. The submission ID is unique per submission, and is assigned by our system. In order to have it in your database, a submission would already need to be created beforehand - as you are doing manually now.

    2. We do not allow collecting of usernames or passwords over our forms, as can be seen in our terms. So you would have to ask for this information with your own system.

    What I believe you can do on your website, is to put a page with your form embedded into it behind a login page. Then, serve them different form embedded with submission ID depending on their login credentials on your site. Everything else would be as you have it right now - you need to pre-create submissions that your users can then fill out with their edit link.

    I hope this helps.

  • Profile Image
    Answered on August 06, 2015 at 08:05 PM

    Boris, we agree on the approach and requirements. 

    I have minimal coding skills, but found this link:

    I modified the code as follows, and it seems to work.   There is no error handling, though.  I'm open to other suggestions. 



    function process()


    var url= "" + 

    document.getElementById("url").value + "&mode=edit";"_blank" href=url;

    return false;



    <form onSubmit="return process();">

    Client ID: <input type="text" name="url" id="url"> <input type="submit" value="go">


  • Profile Image
    Answered on August 07, 2015 at 03:24 AM

    The above approach appears okay, you should perhaps add a check for blank user id i.e

    if(document.getElementById("url").value == "")

    return false