cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP Security Notice: CVE-2026-109618 and CVE-2026-109619

    JMP promptly initiated a review of its products, services, and relevant infrastructure for exposure to CVE-2026-109618 and CVE-2026-109619.

    Our assessment of JMP products has not identified exposure to these vulnerabilities. Where remediation was required within supporting environments, appropriate security updates and controls have been applied and validated.

    We have identified no evidence of successful exploitation or unauthorized access to JMP systems or customer information associated with these vulnerabilities.

    JMP continues to monitor the issue and relevant vendor guidance. No action is required by JMP customers at this time.

  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Jackie_
Level VII

Text edit box in radiobox

Hi,

 

Can JMP support Text edit box in radiobox?

Jacksmith12_0-1632944692523.png

 

If so, can someone share an sample script? 

 

Thanks,

Jack

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Text edit box in radiobox

Here is how I would do it:

txnelson_0-1632946987641.png

Just have the input box open when the check box is checked

Names Default To Here( 1 );
nw = New Window( "check boxes",
	V List Box(
		H List Box(
			redCkBox = Check Box(
				"By Check (bill me later)",
				If( redCkBox << get == 1,
					rTxEditBox << visibility( visible );
					rtb << visibility( visible );
				,
					rTxEditBox << visibility( collapse );
					rtb << visibility( collapse );
				)
			),
			rTxEditBox = Number Edit Box( 0.0 ),
			rtb = Text Box( ".00" )
		),
		H List Box(
			greenCkBox = Check Box(
				"By Credit Card",
				If( greenCkBox << get == 1,
					gTxEditBox << visibility( visible );
					gtb << visibility( visible );
				,
					gTxEditBox << visibility( collapse );
					gtb << visibility( collapse );
				)
			),
			gTxEditBox = Number Edit Box( 0.0 ),
			gtb = Text Box( ".00" )
		)
	)
);
rTxEditBox << visibility( collapse );
rtb << visibility( collapse );
gTxEditBox << visibility( collapse );
gtb << visibility( collapse );

 

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Text edit box in radiobox

Here is how I would do it:

txnelson_0-1632946987641.png

Just have the input box open when the check box is checked

Names Default To Here( 1 );
nw = New Window( "check boxes",
	V List Box(
		H List Box(
			redCkBox = Check Box(
				"By Check (bill me later)",
				If( redCkBox << get == 1,
					rTxEditBox << visibility( visible );
					rtb << visibility( visible );
				,
					rTxEditBox << visibility( collapse );
					rtb << visibility( collapse );
				)
			),
			rTxEditBox = Number Edit Box( 0.0 ),
			rtb = Text Box( ".00" )
		),
		H List Box(
			greenCkBox = Check Box(
				"By Credit Card",
				If( greenCkBox << get == 1,
					gTxEditBox << visibility( visible );
					gtb << visibility( visible );
				,
					gTxEditBox << visibility( collapse );
					gtb << visibility( collapse );
				)
			),
			gTxEditBox = Number Edit Box( 0.0 ),
			gtb = Text Box( ".00" )
		)
	)
);
rTxEditBox << visibility( collapse );
rtb << visibility( collapse );
gTxEditBox << visibility( collapse );
gtb << visibility( collapse );

 

Jim

Recommended Articles