Select to view content in your preferred language

Default value not displaying in related table form

605
1
11-27-2011 06:04 PM
ChadFlynn
New Contributor II
Hello,

I have an AXF set up with an EDITFORM and a TABLEFORM. I have fields set up in the TABLEFORM with DOMAINFIELDs. I set the default value of these with text: defaultvalue="No" (my Domain choices are Yes, No, and NA).When I pull up my new inspection form (the related table), the default values are not displaying in the fields.

Why is my form ignoring the value that I set as the Default?

Using ArcPad 10 on my laptop.

Any insight is greatly appreciated. Thanks!

Chad
Tags (3)
0 Kudos
1 Reply
HannahFerrier
Regular Contributor
Hi Chad,

Best practice for working with domains and subtypes in ArcPad is to set up all of your data rules in your geodatabase in the ArcMap environment. All of these rules will be translated into the AXF during check-out.

Some conflicts can arise if you set some data rules in the geodatabase and others in the AXF - this is why ArcPad will perform a soft validation on your domain/subtype field before committing to the default value. The manifestation of this soft validation is that your field will appear empty until you tap on the control. This will trigger the validation and the default value will then populate the control.

So, try setting your data rules in the geodatabase and let me know how you get on!!

Hannah Ferrier
Mobile GIS Specialist, Maptel
0 Kudos