stblink VIP
Total posts: 501
04 Июль 2013 10:30

This is only appliable if multiple input is set to 1 , since more then 1 the REMOVE URL button appears.

For this 3 examples:

1 - If a user uses TAB key to go fill the form, and passes by the URL field the http:// is added automatically... if the user does not want to fill this field the http:// is not erasable.

2 - If a user fills the url and later wants to erase that value, http:// is not erasable.

3 - If a user by acciddent types 1 char on the field, there is no turn around (clicking on the field.. because if using TAB see point 1)

the http:// is enough for the field to appear on record list view.

The only "hack" is to go to admin, edit record, keep backspace pressed on the URL field and press SAVE.

Последние изменения: 10 Дек 2014


Sergey
Total posts: 13,748
05 Июль 2013 08:41

Fixed

In url.php line 95 change

if ($val['url'] == '')

to

if ($val['url'] == '' || $val['url'] == 'http://')

It does not allow to erase http:// but it does not save fields with only http:// entered.


stblink VIP
Total posts: 501
05 Июль 2013 10:07

Thanks Sergey!

And there's another bug...

set "Multiple input" to 1 and "Allow enter label" to NO

the http:// is not added.


Konstantin
Total posts: 1,113
08 Июль 2013 04:38

Checked. http always showed, can we check this on your site?

Работает на Cobalt