1

Topic: Changing Custom Attribute Data Type

Hi all,

I had a custom attribute set up for my survey with the data type set as Integer and the validation rules set as Numeric.

I then found out that this field needed to be free text, so I changed the data type to Text and the validation rule to Standard Text in both the Occurrence Attributes and the survey-specific attributes on the warehouse.

I've also cleared the Indicia cache and all Drupal caches in my web site.

However the field on my web form still validates as an integer and returns a validation error if anything other than an integer is entered.

Can anyone help me fix this problem?

Many thanks.

2

Re: Changing Custom Attribute Data Type

I think I've had this before. As I recall the solution was to deselect numeric validation and save before changing the data type to text.

I assume that, when you change the data type, validation rules get hidden but their values remain, hence the need for the two stage process.

If I am correct and you change your attribute back to integer, you should see numeric validation is still checked.

Jim Bacon.

3

Re: Changing Custom Attribute Data Type

That did the trick! Thank you!