Results 1 to 6 of 6

Thread: Costum trigger for WebSite ,Facebook.

  1. #1
    Sencha User
    Join Date
    Jan 2011
    Location
    Algeria
    Posts
    15

    Default Costum trigger for WebSite ,Facebook.

    Hello ,
    I want to have fields in my form for entering a website with a clickable icon , that would open my website on a new page (same for Facebook, Twiter ..)
    I want to use Ext.form.TriggerField component, but how to have a costum trigger.
    thanks.

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Location
    Algeria
    Posts
    15

    Default

    Is my question not clear or not feasible?

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    549

    Default

    A more detailed explanation of what you're trying to achieve might help

  4. #4
    Sencha User
    Join Date
    Jan 2011
    Location
    Algeria
    Posts
    15

    Default

    Something like this (for the facebook example)
    facebook trigger.bmp

  5. #5
    Sencha User
    Join Date
    Jan 2011
    Posts
    549

    Default

    I've never personally used a triggerField, as I've always simply gone with a separate textfield and button conbination which call the same submit function on hitting "Enter" or clicking the button.

    However, there is an example of a triggerField on the examples page which you may find useful:
    http://dev.sencha.com/deploy/ext-3.4...rm/custom.html

  6. #6
    Sencha User
    Join Date
    Jan 2011
    Location
    Algeria
    Posts
    15

    Default

    I have not found what I was looking at this link. But your answer helped me, I will simply used textField and button with hbox layout.
    Thank you.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •