Community Forums
Results 1 to 5 of 5

Thread: hi can someone paste the code for writing a sample custom code panel

  1. #1
    Join Date
    Oct 2007
    Posts
    305

    hi can someone paste the code for writing a sample custom code panel

    hi,
    i am using the install anywhere feature of get user input advanced and i give the choice of text fields but my problem is that the alignment of text fields are not proper.
    So the only option left for me is writing a custom code panel.
    Can someone post the code for writing a custom code panel wherein
    i need five text fields say:
    First james:
    Second james:
    Third james:
    Fourth james:
    Fifth james:

    And after that i need to give a label which gives some message like:

    Note:All fields marked as * are required
    I want the text fields to be properly aligned so that the text fields appear one below the other.
    I saw the sample custom code panel in the installanywhere but getting stuck up somewhere,so need your help.
    Any help is appreciated.
    james.

  2. #2
    Join Date
    Dec 2007
    Posts
    13

    Hi James try this

    Create one html file for your requirement and add that file to your pannels using
    AddAction->pannel->displayHtml .I think this solves your problem.

  3. #3
    Join Date
    Oct 2007
    Posts
    305

    hi kondala rao

    hi,
    i want to create a panel using custom code panel and my problem is if i use the built in feature given by installanywhere i am unable to align the text fields so i want to use swings and do it.
    Any sort of help is eagerly awaited.
    james.

  4. #4
    Join Date
    Oct 2007
    Posts
    101
    You can write your custom panel, or you can try this way instead. This is how I do it because I don't want to write many custom panels...

    When you use the Get User Input - Advanced, and Configure Textfield, use the Caption instead of the Label. The only real downside to this is if you have many text fields or you have many File Choosers. In that case, I change the default size of the installer to be a little bigger, or try to break up the prompts.

  5. #5
    Join Date
    Feb 2014
    Posts
    9

    How to pass IA Variable to Custom Display HTML Panel

    IA variable is not passed to html panel . is there any way to replace in html panel

Posting Permissions

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