Re: [Tiki-devel] Tiki Item link preselect parameters

Michael Finko <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <CAJ0jaKcK+HRZv-ZXXyGBoiRbtp_mLvQNSb3GwxPwvWxC-o1GvQ@mail.gmail.com>
looks like that's the lowest value on the list, so essentially is using the
'first' value?

On Wed, Aug 11, 2021 at 7:26 PM Bsfez Tiki via TikiWiki-devel <
[email protected]> wrote:

> Hi Victor ;-)
>
> UserSelector field actually stores usernames (which could be email
> addresses depending on your Tiki setup)
>
>
> I don’t use email.
>
>
> Field 179 is the item link with the preselect rule, and it stay locked on
> the first item found (lower id)
>
>
>
>
>
>
> Shouldn’t it work ?
>
> Bernard
>
>
>
> On 11 Aug 2021, at 17:14 , Victor Emanouilov <[email protected]> wrote:
>
> Hi Bernard,
>
> UserSelector field actually stores usernames (which could be email
> addresses depending on your Tiki setup), so if you preselect something,
> that should be based on usernames, not actual user ID values. Otherwise,
> some kind of mapping must be done between usernames and user ID values.
>
> Regards,
> Victor
>
> On 8/11/21 4:28 PM, Bsfez Tiki wrote:
>
> Hello (Victor ;-)),
>
> I finally understood why I couldn’t work anything using the item link
> preselect thing.
>
> It seems it work with a text field something I never attempt or needed.
>
> I always tried to use it with user selector field where I guess it can’t
> "find" the other tracker value (the string in the field) but the look
> through the "link reference" values list.
>
> IE: looking for "123" instead of  "Bernard".
> <option value="123" selected="selected">Bernard</option>
>
> Does anyone has a trick so the preselect is made using a user selector ?
>
>
> Bernard
>
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
Screen Shot 2021-08-11 at 19.10.24 .png (image/png, 155.3 KB) - not displayed
Screen Shot 2021-08-11 at 19.13.46 .png (image/png, 357 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.