Re: [Qgis-user] Default values in form

2015-06-29 Thread Andreas Neumann
Hi, I would also think the way Bernhard is describing it below. But I do think that we need a more fine-grained way for each column to specify whether it should use the last value or the default value. But in general, if not specified otherwise, the last value should have precedence.

Re: [Qgis-user] Default values in form

2015-06-29 Thread Bernhard Ströbl
Hi, my expectation would be just the other way round: if I (globally) set reuse last values I would expect them to override any defaults. Bernhard Am 28.06.2015 um 09:55 schrieb didier peeters: Hi Andreas, it would be nice to have these options: by default the default values precede the

Re: [Qgis-user] Default values in form

2015-06-28 Thread Matthias Kuhn
Hi Didier, You can still create a feature request, just add a link to the QEP in there so a reader is aware of it. The general discussion about it is on the following page. I think you will need a github account to comment (just create one if you don't have one yet).

Re: [Qgis-user] Default values in form

2015-06-28 Thread didier peeters
Hi Andreas, it would be nice to have these options: by default the default values precede the last inserted values (otherwise defining default values would be somehow useless), except where specified otherwise in the field definitions. So there would be an option in each field definition (a

Re: [Qgis-user] Default values in form

2015-06-28 Thread didier peeters
Hi Matthias, In a previous e-mail you said that you would prefer to have a global redesign of the field definition and form tab(s) ; should I create this specific feature request anyway or wouldn’t fit into your QEP instead ? And by the way, I’m not sure about how to add comments to your QEP,

[Qgis-user] Default values in form

2015-06-26 Thread didier peeters
Hello, Simple question : is there a way to set a default value for an attribute in QGis ? I have Postgis layers in QGis in which I’m inserting or updating data, and I would like that some fields would be filled automatically unless I fill them myself. Well that’s the definition of a

Re: [Qgis-user] Default values in form

2015-06-26 Thread Blumentrath, Stefan
be interested too)... Cheers Stefan -Original Message- From: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of didier peeters Sent: 26. juni 2015 10:08 To: qgis-user Subject: [Qgis-user] Default values in form Hello, Simple question : is there a way to set

Re: [Qgis-user] Default values in form

2015-06-26 Thread Matthias Kuhn
Hi Didier On 06/26/2015 12:36 PM, didier peeters wrote: Hello Mathias, this would be great ! Additionally, this makes me think of another possible enhancement: when displaying a picture in a form tab, it could be nice to hide the label and path/url to the file, which is most of the time

Re: [Qgis-user] Default values in form

2015-06-26 Thread Jürgen E . Fischer
Hi Didier, On Fri, 26. Jun 2015 at 10:08:12 +0200, didier peeters wrote: Simple question : is there a way to set a default value for an attribute in QGis ? I have Postgis layers in QGis in which I’m inserting or updating data, and I would like that some fields would be filled

Re: [Qgis-user] Default values in form

2015-06-26 Thread Matthias Kuhn
-Original Message- From: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of didier peeters Sent: 26. juni 2015 10:08 To: qgis-user Subject: [Qgis-user] Default values in form Hello, Simple question : is there a way

Re: [Qgis-user] Default values in form

2015-06-26 Thread didier peeters
Thanks, I’ll surely take a look at your plugin, and open a ticket if necessary. @Stefan : I had seen that post by Nathan Woodrow, but was hoping for something ‘lighter’ … Didier Le 26 juin 2015 à 11:32, Bernhard Ströbl bernhard.stro...@jena.de a écrit : Hi, if you define the values

Re: [Qgis-user] Default values in form

2015-06-26 Thread Paolo Cavallini
-boun...@lists.osgeo.org] On Behalf Of didier peeters Sent: 26. juni 2015 10:08 To: qgis-user Subject: [Qgis-user] Default values in form Hello, Simple question : is there a way to set a default value for an attribute in QGis ? I have Postgis layers in QGis in which I’m inserting or updating

Re: [Qgis-user] Default values in form

2015-06-26 Thread Bernhard Ströbl
Hi, if you define the values as default in PostgreSQL and use my :) plugin DataDrivenInputMask [1] these values are inserted in the mask that is created by the plugin in QGIS. Thus for fields with defaults you cannot insert NULL vallues (but that's why you define a default). Bernhard

Re: [Qgis-user] Default values in form

2015-06-26 Thread Andreas Neumann
Hi, When doing anything with default values we also have to think about the option we have which automatically fills in the values of the last inserted record. Which one has precedence? The default value or the value of the last record? Also - I think we probably need a mixture of default

Re: [Qgis-user] Default values in form

2015-06-26 Thread didier peeters
-user Subject: [Qgis-user] Default values in form Hello, Simple question : is there a way to set a default value for an attribute in QGis ? I have Postgis layers in QGis in which I’m inserting or updating data, and I would like that some fields would be filled automatically unless I

Re: [Qgis-user] Default values in form

2015-06-26 Thread Blumentrath, Stefan
fidgety? Should a request for this go into separate tickets? Cheers Stefan From: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of didier peeters Sent: 26. juni 2015 12:36 To: qgis-user Subject: Re: [Qgis-user] Default values in form Hello Mathias

Re: [Qgis-user] Default values in form

2015-06-26 Thread Matthias Kuhn
...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] *On Behalf Of *didier peeters *Sent:* 26. juni 2015 12:36 *To:* qgis-user *Subject:* Re: [Qgis-user] Default values in form Hello Mathias, this would be great ! Additionally, this makes me think of another possible enhancement: when

Re: [Qgis-user] Default values in form

2015-06-26 Thread Matthias Kuhn
:36 *To:* qgis-user *Subject:* Re: [Qgis-user] Default values in form Hello Mathias, this would be great ! Additionally, this makes me think of another possible enhancement: when displaying a picture in a form tab, it could be nice to hide the label and path/url to the file, which