Populate the data elements automatically as they are requested.
Questions tagged [auto-populate]
261 questions
17
votes
8 answers
Issue with code autocompletion / syntax highlighting in Xcode 4.x
I am having a rather strange issue in Xcode on one of my projects.
When I start to write my code, I am used to the auto-completion suggesting numerous entries for me. For some reason, since yesterday, this has stopped working. I now get strange…

Andy Shephard
- 1,726
- 17
- 26
17
votes
6 answers
Stop browser from auto filling the form username and password fields
In the Chrome browser, I have saved the username and the password.
Now, if I navigate to some other form and it contains the username and password for some other stuff, the one I saved is auto-populated here.
How can I stop this?

Vijay-Coder
- 171
- 1
- 1
- 5
8
votes
3 answers
Django set creator/owner for the object when created
Let's say I have a simple model:
class Contact(models.Model):
owner = models.ForeignKey(User, editable=False)
first_name = models.CharField(max_length=255,)
last_name = models.CharField(max_length=255,)
email = models.EmailField()
I…

m5seppal
- 1,186
- 3
- 15
- 31
6
votes
1 answer
Django rest framework auto-populate filed with user.id
I cant find a way to auto-populate the field owner of my model.I am using the DRF .If i use ForeignKey the user can choose the owner from a drop down box , but there is no point in that.PLZ HELP i cant make it work.The views.py is not include cause…

user3418042
- 179
- 1
- 2
- 7
6
votes
1 answer
hibernate populate database on first run
It is possible to make Hibernate insert Java Objects only one first run of the application?
I don't want to load an inser.sql file, i think that is possible to instantiate all my java objects in a specific java file and only on the first run…

pmestima
- 129
- 2
- 8
5
votes
2 answers
Prepopulate form in Struts1
I have a jsp as my view, which displays a form for adding a new user/ updating the user, if one is selected. I can't figure out how to prepopulate my form if a user is selected. I read about the solution using 2 actions, with the same form, one of…

joanna
- 743
- 3
- 13
- 27
5
votes
1 answer
Populating a drop down list using AJAX
I have 3 drop down boxes, created using the HTML select tag. On page load, the first box has a few names. Now, when I click on one of the names in the first box, some more names should appear in the second and when I click on a name in the second…

CodingInCircles
- 2,565
- 11
- 59
- 84
4
votes
5 answers
How to mongoose-autopopulate populate with typegoose
I am using nest js with mongodb and
for the mongodb modelling i am using Typegoose . they did not have autopopulate functionality yet.
I am using
https://github.com/szokodiakos/typegoose
and just want to use auto populate…

Akash Gupta
- 389
- 1
- 4
- 10
4
votes
2 answers
ServiceNow angularjs: how to pass server script values to client script
I am working in ServiceNow and am creating a widget that pulls up a modal window with a form embedded in it. I want to pre-populate some of the fields in the modal form, but am unsure how to do this.
here is my HTML of a button that opens up the…

Dave
- 1,257
- 2
- 27
- 58
4
votes
4 answers
Auto-fill the date in a cell, when the user enters information in an adjacent cell
I have a spread sheet, where people can enter project updates and then the date of the update. What is happening is that people are forgetting to date their notes. Is there a way to have the date cell autopoplute the current/date of entry?
I am…

Shelby Sauer
- 51
- 1
- 1
- 2
3
votes
2 answers
How to prevent form elements from pre-populating in Chrome
I am building a Bootstrap form and the email and password form elements show with pre-populated data from some other or some earlier form login on a different site. The Chrome browser is auto-populating the form elements.
Is there an HTML attribute…

H. Ferrence
- 7,906
- 31
- 98
- 161
3
votes
1 answer
mongodb populate method not working
Here is my code for models
var postSchema = new mongoose.Schema({
created_by: {type: Schema.ObjectId, ref:'User', autopopulate: true }, //should be changed to ObjectId, ref "User"
created_at: {type: Date, default: Date.now},
text:…

FarheenP
- 349
- 1
- 2
- 11
3
votes
2 answers
hibernate populate table if empty
I have an entity class and I want hibernate to populate the corresponding table in DB with some constant values: several rows with some data (if there is no values in it, or replace...)
How can I ask hibernate to do this (ideally with annotations)?…

golinko
- 327
- 2
- 3
- 14
2
votes
2 answers
Populate sign-up form field with an uneditable/undeletable sentence
One field in our website's sign-up form is occasionally left blank yet we need it to include one sentence that for legal reasons must not be editable. This is then later used as part of the user's profile and will sit in the same place if they added…

JoeW
- 578
- 1
- 10
- 29
2
votes
1 answer
Mutliple dynamic fields with jquery
I have a series of div or input, and all data are pulled from a JSON file.
Here is an example of the structure : group - groupItem - itemSpec- itemSpec2
{
"Group": "groupA",
"Item": "groupA-item1",
"Spec1": "item1-spec1",
…

blogob
- 490
- 5
- 19