Hi there, @waseemahm11011… this hypothetical situation looked like a fun little challenge, so I put together an example that I believe does exactly what you have described.

First, I created data types for Contest and Prediction with the following fields…

contest-data-type

prediction-data-type

Then, I put a group on a page that, for my purposes, has a data source of the first (and only) contest in my database.

When the page is loaded, I have a workflow that makes changes to the contest every 1 second, and the changes it makes are as follows…

I also have a workflow associated with a submit button that enables the user to submit their prediction…

Finally, I have the following elements in the group on the page…

  • A text element that displays the Parent Group's Contest's countdown
  • An input element where the user types their prediction
  • A submit button (which isn’t clickable by default) that has the following conditionals…

(Note that the filter on the second conditional has a constraint where Creator = Current User, and this conditional is used to stop the user from submitting more than one prediction per contest.)

  • A text element that displays a user’s prediction after it has been submitted (Parent Group's Contest's predictions list:filtered's minutes to complete job, with the constraint on the filter again being Creator = Current User)
  • A text element (which is not visible on page load) that displays a congratulatory message when the following condition is met…

congatulations

Anyway, that’s what I’ve got, and I hope it’s helpful.

Best…
Mike