What steps will reproduce the problem?
1. Define custom buttons 'Send' and/or 'Reset' title in form configuration.
2. Refresh the form
3. Title won't change.
What is the expected output? What do you see instead?
Custom title expected. Instead of it default value from form code is used.
Solution:
original:
#if(!$form.sendButtonTitle)
#set($formSend = $form.sendButtonTitle)
#end
...
#if(!$form.resetButtonTitle)
#set($formReset = $form.resetButtonTitle)
#end
change to:
#if($!form.sendButtonTitle != "")
#set($formSend = $form.sendButtonTitle)
#end
...
#if($!form.resetButtonTitle != "")
#set($formReset = $form.resetButtonTitle)
#end
Original issue reported on code.google.com by net...@netrat.eu on 7 May 2011 at 8:11
Original issue reported on code.google.com by
net...@netrat.eu
on 7 May 2011 at 8:11