Questions tagged [auto-populate]

Populate the data elements automatically as they are requested.

226 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,533
  • 15
  • 24
14
votes
5 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
  • 141
  • 1
  • 1
  • 5
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
  • 97
  • 1
  • 7
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
  • 733
  • 3
  • 13
  • 26
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
  • 1,895
  • 8
  • 50
  • 77
5
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,046
  • 3
  • 13
  • 28
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,177
  • 2
  • 16
  • 44
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,306
  • 31
  • 88
  • 155
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
  • 309
  • 1
  • 2
  • 10
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
  • 167
  • 2
  • 2
  • 12
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
  • 558
  • 1
  • 10
  • 28
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
  • 319
  • 2
  • 14
2
votes
1 answer

Django - How to auto populate form field from two others fields

Here's what I'm looking for. In my form I have three fields, all CharFields. Those are Name, Surname and Username. Username should be set as a sum of Name and Surname, so for Name = Joe, Surname = Black, Username = Joe Black. As the form is…
Gandi
  • 3,092
  • 1
  • 19
  • 30
1
2 3
15 16