I have created custom attribute in Magento 1.9.3.
$pro_attribute = [
'input' => 'text',
'type' => 'int',
'label' => 'Pro Position',
'visible' => true,
'required' => true,
'visible_on_front' => true,
'unique' => true,
'searchable' => true,
'filterable' => true,
'validate' => true,
'class' => 'validate-number',
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,//SCOPE_STORE,
];
Field is sucessfully created and has the "required entry" validation. How can I add the "number" validation?