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

Veteran
  
Join Date: Apr 2007
Posts: 14,096
 

Default Re: Having trouble modifying a smarty variable inside javascript

This

{$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
CFLSystems.com
Web Development
Reply With Quote