Populate Contour voting form with records from another form
Hi guys,
Say I have a contour form where people enter their personal records, say for job applications.
I could then pull up the entries and display them somewhere for recruiters to browse through, in a standard html table with some sorting for good measure, this turned out to be easy enough.
Would it next be possible to use all entries in a second form where e.g. recruiters could tally votes for their favorite candidates? I imagine I could try and generate a contour form with an entry box for e.g. recruiter name and three drop lists, 1st, 2nd and 3rd choice where each drop list is populated with the names of candidates...
Better still, could I provide the table of all entries with a checkbox , such that people could vote right from the entry overview?
You can create a custom prevalue source type :) that you can then hook up to your form
Or if you don't want to create a custom type maybe setup a create as doc workflow so the possibilities are stored as umbraco docs and then use the default umbraco docs prevalue source type :)
Seems adding custom pre value sources is quite easy. However, what if the pre value source is a DB that is continually updated? Will additions to the source be reflected "live" in the drop downs based on it?
I guess it comes down to when a pre value capable field populates, only once at form design time or each time the form is displayed...
Populate Contour voting form with records from another form
Hi guys,
Say I have a contour form where people enter their personal records, say for job applications.
I could then pull up the entries and display them somewhere for recruiters to browse through, in a standard html table with some sorting for good measure, this turned out to be easy enough.
Would it next be possible to use all entries in a second form where e.g. recruiters could tally votes for their favorite candidates? I imagine I could try and generate a contour form with an entry box for e.g. recruiter name and three drop lists, 1st, 2nd and 3rd choice where each drop list is populated with the names of candidates...
Better still, could I provide the table of all entries with a checkbox , such that people could vote right from the entry overview?
Cheers,
Kris
Comment author was deleted
You can create a custom prevalue source type :) that you can then hook up to your form
Or if you don't want to create a custom type maybe setup a create as doc workflow so the possibilities are stored as umbraco docs and then use the default umbraco docs prevalue source type :)
Makes sense?
Okay,
But I guess things are easiest to do using the Code First route, right?
I'll have a go at it...
Hi Tim,
One additional question:
I found your Nibble post: http://www.nibble.be/?p=86
Seems adding custom pre value sources is quite easy. However, what if the pre value source is a DB that is continually updated? Will additions to the source be reflected "live" in the drop downs based on it?
I guess it comes down to when a pre value capable field populates, only once at form design time or each time the form is displayed...
Comment author was deleted
Yup when db is updated the dropdown will also be updated :)
Comment author was deleted
So values aren't duplicated but it hooks it to the prevalue source
is working on a reply...