>
> <Button type="button" name ="seeting_button"
> onclick = 'window.location="{{=URL('default', 'record_config', 
> args=[name_text_field.value])}}";'>
>

You cannot refer to name_text_field the way you have. Everything inside 
{{..}} is Python and must be available on the server before the HTML is 
rendered and sent to the browser. The input field value is available on the 
client side and must be retrieved via Javascript. You could do:

onclick='window.location="{{=URL('default', 'record_config') + '/'}}" + 
jQuery('input[name=name_text_field]').val();'

Anthony 

-- 



Reply via email to