Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form doesn't store submissions after adding expression currentDate() #50

Closed
kuchengrab opened this issue May 14, 2024 · 2 comments
Closed

Comments

@kuchengrab
Copy link

Hi,
sorry for submitting yet another issue. After fiddleing about with the timestamp thing (#48 / this comment), which I implemented semi-successfully with the expression currentDate(), my form stopped storing any submissions to the database altogether (other forms still worked fine).
I tried debugging it for a few hours — deleting the expression, copying the form, testing different browsers and devices. I couldn't get it to work again, though. The worst thing is that you didn't get a clue as a user, that your entry wasn't saved (no error message, nothing).
Trying this out on a live site in the middle of our conference registration phase running was a bad idea, obviously, but ... I also lost my confidence in the SurveyJS wordpress plugin at that point. 😞
In the end I spent the night recreating the form with ninjaforms. Now it's ugly, but it works again. Plus I have the automatic email functionality (= feature suggestion) that is great to give participants instant feedback as well as for backup, in case the stored submissions become corrupted.
To end this on a less anecdotal note: Here is my form JSON, if you'd like to have a look at it to see whether you can recreate the bug: ras24-survey.json

Best, kuchengrab

@JaneSjs JaneSjs self-assigned this Aug 26, 2024
@JaneSjs JaneSjs assigned JaneSjs and unassigned JaneSjs Aug 26, 2024
@JaneSjs
Copy link

JaneSjs commented Aug 26, 2024

Hello @kuchengrab,
I apologies for missing your inquiry. I regret to hear that your form failed to run during the conference.

Thank you for sharing a survey JSON definiton. I tested it on my end (View Plunker) and confirmed that the expression appears correctly:
image

However, we may need to additionally check it on WordPress. I'll reach out to our developers for further clarification.
Meanwhile, would you please elaborate on the issue? Please clarify whether you couldn't save the entire form response or this particular expression field with the currentDate() function?

For the record: for bugreports, please feel free to submit a ticket at help desk.

@JaneSjs
Copy link

JaneSjs commented Sep 17, 2024

Hello @kuchengrab,
We tried your JSON on our end, however, didn't reproduce the issue on our end. Form results were successfully saved to a database.

We may recommend that you create a new survey and apply the target layout without further modifications such as adding/removing questions.

Thanks

@JaneSjs JaneSjs closed this as completed Sep 17, 2024
@JaneSjs JaneSjs removed their assignment Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants