Insert Condition in Edit Mode: Filled value being cleared - unstable condition

  • Profile Image
    caaxthelm
    Asked on March 11, 2020 at 08:54 PM

    I am trying to append the word "resubmit" to the end of the link the requester sees in an email they get when their request is denied. This way I can build a condition that if the URL contains "resubmit", hide a value.

    Starting with your example above, this is the link url that I am using: https://www.jotform.com/edit/{id}/resubmit/

    Unfortunately, when the requester clicks this hyperlink in the email, he goes to a "WHOOPS" page.

    Obviously I am formatting the link incorrectly. Can you help?



    This is a re-post of a comment on How to Change the Text of the Edit Link in Your Email Alerts

  • Profile Image
    EltonCris
    Answered on March 11, 2020 at 10:23 PM

    Use this instead: https://www.jotform.com/edit/{id}?resubmit

    Then use "resubmit" on your Get Form Page URL Widget condition.

    Here's how:

    1. Add Get Form Page URL in your form.

    2. Create a condition like the following.




  • Profile Image
    caaxthelm
    Answered on March 12, 2020 at 11:59 AM

    Thanks for the proper syntax.

    This adds "resubmit" to the form URL when it's opened by the targeted user and with the related condition, it alters a value as desired. However, this condition seems to persist when subsequent users access the form even though I am specifically presenting them with a link that does NOT have "resubmit" in the URL. This persistence is a problem I've been having with every approach I've tried.

  • Profile Image
    Kiran
    Answered on March 12, 2020 at 12:43 PM

    I am not sure if I understand your query correctly. Do you mean to say that the link is still displaying ?resubmit for the next user? If so, since the link will be sent in a different email without ?resubmit it should be working fine when it is opened from the different PC/browser. 

    Are you trying to access the second URL from the same PC? Could you check the link sent in the email from a different browser/device and see how it works?

    Please get back to us if you need any further assistance. We will be happy to help. 

  • Profile Image
    caaxthelm
    Answered on March 12, 2020 at 01:45 PM

    I re-ran my scenario using two computers.

    Person A submits the request. It sends an approval requested email to Person B. This approval email has a link to the form: jotform.com/edit{id}

    Person B access the form and selects "Denied" from an approval dropdown list. A condition says If approval = Denied, send special email to Person A.

    This special email has this link: "https://www.jotform.com/edit/{id}?resubmit" to access the form. A condition says that if the url contains resubmit, then reset the approval (ie, denial) response to its null state. This is working. 

    Person A updates the form and clicks submit. An approval requested email goes back to Person B. This approval email has a link to the form: "jotform.com/edit{id}". Person B accesses the form again and selects Approved from the approval dropdown list. Clicks Submit.

    At this point when I access the form I see that the approval response has been reset to its null state. I can't figure out why this is happening. What would be resetting the approval state if the form url does not have "resubmit" in it.?

  • Profile Image
    ashwin_d
    Answered on March 12, 2020 at 03:04 PM

    Are you having this issue with form "OCFO Fund Code Request Rev 8-Resubmit get form widget"?

    Can I go ahead and test this form by sending a test submission to replicate this issue?

    We will wait for your response.

  • Profile Image
    caaxthelm
    Answered on March 12, 2020 at 03:26 PM

    Yes. I am back at my computer.

  • Profile Image
    Mike_G
    Answered on March 12, 2020 at 05:18 PM

    Please allow us some time to check the issue further. We will get back to you in this thread the soonest.

  • Profile Image
    Mike_G
    Answered on March 12, 2020 at 05:41 PM

    I have tested the issue you have reported but I was not able to reproduce it on a cloned version of your form.

    Here's the edit link of my test submission: https://www.jotform.com/edit/4598572513412907492

    1584048994zt17_35_54.png

    And here it is when you access it with ?resubmit.

    https://www.jotform.com/edit/4598572513412907492?resubmit

    1584049122zt17_38_14.png

    Please share the link you are using to access the submission but is showing the approval response has been reset to its null state.

    We will wait for your response.

  • Profile Image
    caaxthelm
    Answered on March 12, 2020 at 06:53 PM

    https://www.jotform.com/edit/4598429181224710738

    Now it seems to be working all the way to fulfillment. One thing that may have been happening is that I may not have been waiting long enough before re-opening the form....like there may be a delay in the system's refreshing of the form's data. 

    I am going to test it one more time.


  • Profile Image
    caaxthelm
    Answered on March 12, 2020 at 07:08 PM

    Not working. After the first approver approves the form and sends it on to the second approver, for some reason the first approver's approval response is getting reset. If I refresh, I can see the approval value change to Approved for a split second before reverting to the default value.

    Here is the URL that the second approver is using to access the form:

    https://www.jotform.com/edit/4598631131222341736

    Some condition is blanking out the first manager's approval.

  • Profile Image
    Mike
    Answered on March 12, 2020 at 08:46 PM

    Unfortunately, this is happening due to the following condition.

    The condition is not stable in the submission edit mode.

    I have attached a bug report ticket to this thread and escalated it to our developers. I am afraid we cannot provide an ETA on when this will be addressed. However, we will let you know if we have any updates on this.

  • Profile Image
    caaxthelm
    Answered on March 16, 2020 at 03:49 PM

    Mike is there a way for me to track the bug report and related progress? I am dead in the water without this working.

    Thanks

    Chuck

  • Profile Image
    FelipeSantana
    Answered on March 16, 2020 at 04:31 PM

    Hello Chuck.

    My apologies for the trouble caused to you.

    This ticket has already been assigned to a team and will be addressed as soon as possible. We cannot provide you with an ETA for the solution, however, once the issue has been resolved or a solution is available you will be notified via this thread.

    Please let us know if you have any further questions or concerns, we will be happy to help!

  • Profile Image
    resat
    Answered on April 15, 2020 at 08:15 AM

    This bug should be fixed now.

  • Profile Image
    caaxthelm
    Answered on April 16, 2020 at 02:38 PM

    No. The conditional logic using the Get Form URL widget is still malfunctioning. 

  • Profile Image
    Mike
    Answered on April 16, 2020 at 04:02 PM

    We will check this and get back to you once we have an update.

  • Profile Image
    resat
    Answered on May 20, 2020 at 02:36 AM

    Hi, 

    We changed the condition logic a little bit in the edit mode. User value would not be deleted by conditions now. Please check your form and share it with us. 

    Thank you.

  • Profile Image
    caaxthelm
    Answered on May 20, 2020 at 01:15 PM

    Well, it appears to be working correctly. I tested it several times using this basic test form:

    https://form.jotform.com/201405054130133

    I will now update my near-production-ready forms to see if it works there as well. This may take a few hours.

    Thanks

  • Profile Image
    Mike
    Answered on May 20, 2020 at 02:30 PM

    Thank you for your update. It seems to be fine on my end as well.

    If you notice further issues, let us know.