Results 1 to 5 of 5

Thread: Problems with LIST HTML

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    304

    Problems with LIST HTML

    There is an little example https://www.lianja.com/doc/index.php/LIST#Example

    I applied this example exactly to my table "ereignis" and I have 2 problems:
    Code:
    --- 1 ---
    <script>
    function editRecordID(ident)
    {
        // it switches to page1.section1 and says "not found"
        Lianja.showDocument("page:page1?action=search&text="+ident);
    };
    </script>
    
    --- 2 ---
    I don't get output the field "beschreibung", only "Memo" (Expressions seem not allowed in LIST HTML field list)
    I cannot use LIST HTML for my (web) app, especially because I still have to set parameters for the search in canvas section1.

    Problem 1 is the same in my app.
    Is there a suitable Lianja example to study and try out?

    Gruß
    Georg

  2. #2
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,913
    Hi Georg,

    The search&text=<expression> action is the equivalent of using the Instant Search box and requires a Search field. Alternatively use the filter&text=expression action.

    What are you trying to achieve with the LIST HTML?

    Regards,

    Yvonne

  3. #3
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    304
    1) Upps, page1.section1 has a wrong search field ("datum") and should have "ident".
    But I cannot alter this.
    2) I don't need and use ListHTML. I programmed my own webview section. I need the search into the memo field. That's easy with VFP.
    See pict.
    Name:  Screenshot 2024-10-16 173607.png
Views: 86
Size:  31.9 KB

  4. #4
    Lianja Team yvonne.milne's Avatar
    Join Date
    Feb 2012
    Location
    Berkshire, UK
    Posts
    1,913
    Hi Georg,

    Do you want to click on 'ändern'? And then what do you want to happen?

    Regards,

    Yvonne

  5. #5
    Senior Member
    Join Date
    Feb 2012
    Location
    Germany, near Jena and Weimar
    Posts
    304
    Klicking "ändern", I want to switch to page1.section1 . It is my input form.
    Yvonne, now it's ok. I made the field "ident" (autoinc) a search field.
    Thank you for your helpful hints!
    Georg

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us