Results 1 to 2 of 2

Thread: Help with Checkbox with link in it

  1. #1

    Default Help with Checkbox with link in it


    I am very new to Ext JS and struggling for last few days to update one of our enterprise application's UI written in extJS and extTLD. I would like to include a terms and conditions checkbox with a link that takes you to a different page.

    Somethig like this,

    HTML Code:
    <INPUT NAME="conditions" ID="conditions" ALT="conditions" TYPE="checkbox" ALIGN="left">I have read and agree to the <A HREF="http://somewhere" NAME="termslink" TARGET="_blank">terms and conditions</A>.</INPUT>
    For this, I have tried including this in the jspf file which also contains other page components

    <ext:checkBox name='s_terms' id='s_terms' checked='false' boxLabel='s.terms' inputValue='agreed' itemCls='s-terms'/>
    I can see the checkbox now but am not sure how to proceed further with adding link content within it.

    Also, I would like to disable the login submit button until the checkbox is ticked. The login button looks like this

    <ext:button id="login_btn"
                    handler='login.submit${isAjax ? "Ajax" : "" }'/>
    Sorry, it may be something basic but being inexperienced with front-end and already spent more hours, I decided to post here for help.

    Can someone assist me?

    Many thanks.

  2. #2
    Sencha User
    Join Date
    Feb 2013


    This seems like more of an ExtTLD question. Are the docs included in the download?

Similar Threads

  1. [OPEN] help goes to broken link on checkbox
    By pkellner in forum Sencha Architect 3.x: Bugs
    Replies: 1
    Last Post: 20 Jan 2014, 1:10 PM
  2. Link combobox with a checkbox in a grid
    By satti in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 1 Jan 2014, 4:03 AM
  3. Replies: 4
    Last Post: 31 Jul 2012, 11:37 PM
  4. [CLOSED] A short drag on a image link in carousel maybe open the link.
    By hb562100 in forum Sencha Touch 2.x: Bugs
    Replies: 1
    Last Post: 23 May 2012, 4:38 AM
  5. How to link data store field to checkbox and label
    By hornfrog in forum Ext: Discussion
    Replies: 2
    Last Post: 10 Jun 2011, 10:27 PM

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