Forum Discussion
QuickBaseCoachD
11 years agoQrew Captain
We are starting to get out of my comfort zone but this might work
var text URLnull="xx";
if([checkbox field]=true,
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"$.jGrowl('Warning! You have already Imported Standard detail records.', {life: 5000});" &
"});" &
"void(0);",
$URLONE
& "&rdr=" & urlencode($URLTWO)
& URLENCODE ("&rdr=" & urlencode( $URLTHREE)) )
But another way to go is simply this
if([checkbox field]=false,
$URLONE
& "&rdr=" & urlencode($URLTWO)
& URLENCODE ("&rdr=" & urlencode( $URLTHREE)) )
if you do that and the checkbox is true (ie already imported) , then the formula is null and the button will be blank with nothing to click on.
var text URLnull="xx";
if([checkbox field]=true,
"javascript:" &
"$.get('" &
$url &
"',function(){" &
"$.jGrowl('Warning! You have already Imported Standard detail records.', {life: 5000});" &
"});" &
"void(0);",
$URLONE
& "&rdr=" & urlencode($URLTWO)
& URLENCODE ("&rdr=" & urlencode( $URLTHREE)) )
But another way to go is simply this
if([checkbox field]=false,
$URLONE
& "&rdr=" & urlencode($URLTWO)
& URLENCODE ("&rdr=" & urlencode( $URLTHREE)) )
if you do that and the checkbox is true (ie already imported) , then the formula is null and the button will be blank with nothing to click on.