Use type text for url fields on the event edit page.
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 16 Nov 2018 13:51:23 +0000 (08:51 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 16 Nov 2018 13:52:34 +0000 (08:52 -0500)
Might cause confusion when submitted on another tab.

index.php
views/admin/events/editStatus.html

index 3bfbbbf..4584a58 100644 (file)
--- a/index.php
+++ b/index.php
@@ -3,7 +3,7 @@
  * Plugin Name: GLM Associate - Events Add-On
  * Plugin URI: http://www.gaslightmedia.com/
  * Description: Gaslight Media Members Database.
- * Version: 1.7.5
+ * Version: 1.7.6
  * Author: Chuck Scott
  * Author URI: http://www.gaslightmedia.com/
  * License: GPL2
@@ -19,7 +19,7 @@
  * @package glmMembersDatabaseEventsAddOn
  * @author Chuck Scott <cscott@gaslightmedia.com>
  * @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.7.5
+ * @version 1.7.6
  */
 
 // Check that we're being called by WordPress.
@@ -43,7 +43,7 @@ if (!defined('ABSPATH')) {
  *  so that we're sure the other add-ons see an up to date
  *  version from this plugin.
  */
-define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.7.5');
+define('GLM_MEMBERS_EVENTS_PLUGIN_VERSION', '1.7.6');
 define('GLM_MEMBERS_EVENTS_PLUGIN_DB_VERSION', '0.1.10');
 
 // This is the minimum version of the GLM Members DB plugin require for this plugin.
index 02ddeda..09dbc9e 100644 (file)
         <tr>
             <th {if $event.fieldRequired.url}class="glm-required"{/if}>Web Address (URL):</th>
             <td {if $event.fieldFail.url}class="glm-form-bad-input" data-tabid="glm-event-descr"{/if}>
-                <input type="url" name="url" value="{$event.fieldData.url}" class="glm-form-text-input-medium" placeholder="ex: http://www.gaslightmedia.com">
+                <input type="text" name="url" value="{$event.fieldData.url}" class="glm-form-text-input-medium" placeholder="ex: http://www.gaslightmedia.com">
                 {if $event.fieldFail.url}<p>{$event.fieldFail.url}</p>{/if}<br>
             </td>
         </tr>
         <tr>
             <th {if $event.fieldRequired.ticket_url}class="glm-required"{/if}>Ticketing Address (URL):</th>
             <td {if $event.fieldFail.ticket_url}class="glm-form-bad-input" data-tabid="glm-event-descr"{/if}>
-                <input type="url" name="ticket_url" value="{$event.fieldData.ticket_url}" class="glm-form-text-input-medium" placeholder="ex: http://www.gaslightmedia.com/ticketing/">
+                <input type="text" name="ticket_url" value="{$event.fieldData.ticket_url}" class="glm-form-text-input-medium" placeholder="ex: http://www.gaslightmedia.com/ticketing/">
                 {if $event.fieldFail.ticket_url}<p>{$event.fieldFail.ticket_url}</p>{/if}<br>
             </td>
         </tr>
         <tr>
             <th {if $event.fieldRequired.registration_url}class="glm-required"{/if}>Registration (URL):</th>
             <td {if $event.fieldFail.registration_url}class="glm-form-bad-input" data-tabid="glm-event-descr"{/if}>
-                <input type="url" name="registration_url" value="{$event.fieldData.registration_url}" class="glm-form-text-input-medium" placeholder="ex: http://www.gaslightmedia.com/registrationing/">
+                <input type="text" name="registration_url" value="{$event.fieldData.registration_url}" class="glm-form-text-input-medium" placeholder="ex: http://www.gaslightmedia.com/registrationing/">
                 {if $event.fieldFail.registration_url}<p>{$event.fieldFail.registration_url}</p>{/if}<br>
             </td>
         </tr>