Hi, Im getting close to having things upgraded and working well so this is probably the last question!
Ive got a field I created called 'photothemes' - which is basically a multiple keyword description field. Previously (1.1.1) on the edit page I was using the following which worked perfectly:
Administration Army
It would show ticked boxes for the keywords written in the photothemes field.
But with 2.13 it only seems to show 2 ticked boxes...If I add a third keyword to the field (eg. Work) and add another multiple name input, it will only ever show the first 2 keywords. I can shuffle them in any order and I only get 2.
I can't duplicate any multi-checkbox issues in 2.14. However, I recall that the HTML you need to use in your template changed -- so for pre-existing custom fields, you'll need to go through the add fields page again to have it re-add the new html to the templates (don't remove the field if you want to keep the data, just re-add it won't harm anything as mysql will just ignore the request).
I dont know what the hidden field does (or its use of '123') but Im assuming its needed. One other thing I was using previously was: <input multiple but it doesnt seem to make any difference here ( and I dont know where I got that from??)
Any other further advice.... I dont really want to go back to 1.1.1 but might have to if this doesnt work ;(
No youre right <input multiple> probably isnt correct html, as I said I dont know where I got that from... but anyway Ive got up to 10 options selected ( they are all keywords) so perhaps try and select all 5 ( or create a few more ) and see whether they remain selected when you go back to edit the pic.
Comments on Input multiple name problem
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
Hi, Im getting close to having things upgraded and working well so this is probably the last question!
Ive got a field I created called 'photothemes' - which is basically a multiple keyword description field. Previously (1.1.1) on the edit page I was using the following which worked perfectly:
Administration
Army
It would show ticked boxes for the keywords written in the photothemes field.
But with 2.13 it only seems to show 2 ticked boxes...If I add a third keyword to the field (eg. Work) and add another multiple name input, it will only ever show the first 2 keywords. I can shuffle them in any order and I only get 2.
Any ideas about this???
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Presumably the same issue as was encountered and fixed in WSN Links a few weeks ago. Will be releasing fixed version within the next couple days.
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
Paul,
Was the 2.14 version supposed to fix this problem??
I can now get it to show 3 keywords but no more.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I can't duplicate any multi-checkbox issues in 2.14. However, I recall that the HTML you need to use in your template changed -- so for pre-existing custom fields, you'll need to go through the add fields page again to have it re-add the new html to the templates (don't remove the field if you want to keep the data, just re-add it won't harm anything as mysql will just ignore the request).
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
Okay getting closer!
Now I can get 4 keywords to be selected using the new HTML but still no more
The following is the code it generated when I redid the field:
<input type="hidden" name="phototheme[123]" value="">
<input type="checkbox" name="phototheme[]" value="Berni" {IMAGECHECKED[phototheme <,> Berni]}> Berni
I dont know what the hidden field does (or its use of '123') but Im assuming its needed. One other thing I was using previously was: <input multiple
but it doesnt seem to make any difference here ( and I dont know where I got that from??)
Any other further advice.... I dont really want to go back to 1.1.1 but might have to if this doesnt work ;(
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Is <input multiple> a valid html tag? I've never heard of it.
How many options do you have, for which only 4 work? My test with 5 seemed fine though I only checked two or three of them.
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
No youre right <input multiple> probably isnt correct html, as I said I dont know where I got that from... but anyway Ive got up to 10 options selected ( they are all keywords) so perhaps try and select all 5 ( or create a few more ) and see whether they remain selected when you go back to edit the pic.
Member
Usergroup: Member
Joined: Jan 11, 2004
Total Topics: 9
Total Comments: 24
Paul,
Any further idea about this problem??
Have you tried selecting more than 4??
Jeremy
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Open classes/onelink.php and change
to
Beginner
Usergroup: Customer
Joined: Mar 28, 2005
Total Topics: 4
Total Comments: 8
Open classes/onelink.php and change
to
Paul.
This error is still in the latest version of WSNLinks.
I had to make this change to get multi checkboxes to work.
arn
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Noted, thanks.