Comments (2)
see these:
http://stackoverflow.com/questions/5802030/creating-an-html-form-with-prefilled-in-instructions
http://stackoverflow.com/questions/936376/prepopulate-django-non-model-form
from turkle.
Some HITs submit POST with form fields that are different than the input fields. E.g., javascript processes the selections and generates a different set of key-value pairs in the POST data. In this case it won't be possible to prefill form fields with data from Hit.answers when redisplaying the HIT.
So when attempting to prefill, just check the Hit.answers dict for keys that match the keys in Hit.input_csv_fields.
But also, a table can be shown below the form frame with the Hit.answers's field names in left column and values in right column.
from turkle.
Related Issues (20)
- Upgrade to Django 3.2
- spacing above inserted submit button
- Add meta tags support
- Minor issues integrating as app in larger projects HOT 21
- Template namespace clashes HOT 1
- replace bootstrap-datepicker with html5 date
- warning when filtering stats by date when timezone use is on
- filtering dates is inclusive on the start date and exclusive on the end date HOT 1
- Deployment using PostGRES HOT 1
- Rename "master" to "main"
- Add download instructions to documentation
- Can the user go back and change the submitted annotation? HOT 2
- Upgrade to Django 4 HOT 1
- namespace turkle's URLs for reverse lookup
- Users have field is_active and Projects have field active
- Projects/Batches can be edited so that login required is false and custom permissions is on
- Increase template size limit on hltcoe.turkle.org HOT 7
- Compatiliby with AMT Crowd HTML Elements HOT 4
- Add project ID and batch ID to export CSV
- Make it easier to find batches that annotators have been working on HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turkle.