Top "Field" questions

In computer science a field is a smaller piece of data from a larger collection.

Django: field's default value from self model's instances

How can I make default value for a field to be taken from existing objects of a model? I tried …

django default field
Why ever use fields instead of properties?

I'm fairly new to C#, and I think properties are a wonderful thing. So wonderful, in fact, that I can't …

c# coding-style properties field
jquery property disabled and input value form submit

What I wanna ask is, I have a check box called full screen and when I checked it the two …

jquery input field prop
How to make HTML text field readonly, but also scrollable?

I've got an HTML text field that I have made READONLY. Thing is though, that say the field is only …

html field readonly scrollable
Custom placeholder for all WooCommerce checkout fields

I am trying to add a placeholder to my WooCommerce checkout fields, and it's working perfectly for every field except …

php wordpress woocommerce field checkout
How to loop on field names of a class

I have got a class which contains more then 150 fields. i need the name of fields (not value) in an …

c# class loops field
Java: Static transient fields

I just found out in Java you can declare a field 'static transient' - the compiler doesn't complain. This doesn't …

java serialization static field transient
Should I use cut or awk to extract fields and field substrings?

I have a file with pipe-separated fields. I want to print a subset of field 1 and all of field 2: cat …

sed awk field cut text-parsing
How to access a field's value via reflection (Scala 2.8)

Consider the following code: class Foo(var name: String = "bar") Now i try to get the value and the correct …

reflection scala field invoke scala-2.8
Updating one field in every element of a Matlab struct array

Suppose I have a struct array arr, where each element has a bunch of fields, including one called val. I'd …

arrays matlab struct field assign