diff --git a/include/simpleplugin/attributes/class_PhoneNumberAttribute.inc b/include/simpleplugin/attributes/class_PhoneNumberAttribute.inc
index 320c7a5842188dd6b0d3806358f0aad68d737315..539692c2d8619825be0e811b626ba493db8536fc 100644
--- a/include/simpleplugin/attributes/class_PhoneNumberAttribute.inc
+++ b/include/simpleplugin/attributes/class_PhoneNumberAttribute.inc
@@ -110,8 +110,9 @@ class phoneSelectDialog extends GenericDialog
  */
 class PhoneNumberAttribute extends TestValidateAttribute
 {
-  protected $trim     = TRUE;
-  protected $testFunc = 'is_phone_nr';
+  protected $trim       = TRUE;
+  protected $testFunc   = 'is_phone_nr';
+  protected $inputType  = 'tel';
 }
 
 /*! \brief Displays a text field and a button to select the phone from object list
diff --git a/include/simpleplugin/attributes/class_StringAttribute.inc b/include/simpleplugin/attributes/class_StringAttribute.inc
index 97471ab52dc59df6deb3983af915fbd34aff5401..575ae19eedb8c9af9de7f2aff38dba82cf9b3653 100644
--- a/include/simpleplugin/attributes/class_StringAttribute.inc
+++ b/include/simpleplugin/attributes/class_StringAttribute.inc
@@ -27,6 +27,7 @@ class StringAttribute extends Attribute
   protected $example;
   protected $autocomplete = NULL;
   protected $trim         = FALSE;
+  protected $inputType    = 'text';
 
   /*! \brief The constructor of StringAttribute
    *
@@ -69,7 +70,7 @@ class StringAttribute extends Attribute
     if ($this->autocomplete !== NULL) {
       $attributes['autocomplete'] = ($this->autocomplete ? 'on' : 'off' );
     }
-    $display  = $this->renderInputField('text', $id, $attributes);
+    $display  = $this->renderInputField($this->inputType, $id, $attributes);
     return $this->renderAcl($display);
   }