View Single Post
Old 02-07-2020, 11:22 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline

Join Date: Apr 2007
Posts: 14,096

Default Re: Having trouble modifying a smarty variable inside javascript


{$testB = true}

is not a valid smarty expression. It won't do anything, it won't run. You need to repeat the assign function

{assign var="testB" value=true}

same for the "false" value
Steve Stoyanov
Web Development
Reply With Quote