Skip to main content
Known Participant
October 5, 2009
Question

add pop up

  • October 5, 2009
  • 1 reply
  • 431 views

I have a portion in the form that I want to add if the user has multiple records...

For example: 

<mx:Label x="10" y="611" text="Information" fontWeight="bold"/>

<mx:ComboBox x="10" y="625" prompt="Make a Selection"></mx:ComboBox>

<mx:Label x="10" y="645" text="Part A" fontWeight="bold" >

<mx:RichTextEditor x="10" y="663" title="Record A" height="249" width="454">

</mx:RichTextEditor>

<mx:RichTextEditor x="472" y="663" title="Record B" height="249" width="518">

</mx:RichTextEditor>

<mx:Label x="10" y="645" text="Part B" fontWeight="bold" />

<mx:Button

x="878" y="625" label="Add New Record"/>

So if the user wants to add a new record... the user can hit Add New Record Button and everything after the first Label is re-generated...

How can i do that?

Any help is appreciated...

    This topic has been closed for replies.

    1 reply

    Inspiring
    October 5, 2009

    You can use javascript window.open() or javascript.OpenModalDialog();

    ilssac
    Inspiring
    October 5, 2009

    Dan Bracuk wrote:

    You can use javascript window.open() or javascript.OpenModalDialog();

    With a Flex based application?

    I suspect the original poster would get more relevant responses from a Flex based forum rather then this ColdFusion based one.


    I also suspect the answer is going to involve actionscript, a cousin to JavaScript, that will generate the new controls as desired.