Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Change the value of textbox in a simple button click (update) #38

jugo4715 opened this Issue · 2 comments

3 participants


i have in my web page two textbox:
#textbox{id=my_textbox1, text=" " },
#textbox{id=my_textbox2, text=" " },
#button {id=my_button, text="go", postback=click}

i want do something like:

wf:update(my_textbox2, #textbox{text=wf:q(my_textbox1)}).

but this why it dosn't work for me.....:/

thanks for your help


wf:update() function updates html-code inside provided object.

So, wf:update(my_textbox2, #textbox{text=wf:q(my_textbox1)}) tries to insert new textbox inside my_textbox2.

Try to use wf:replace() instead of wf:update().

Or use #script to update value of textbox.


wf:set(ID,Value) should do this as well.

i'll need to add this to the documentation, as it's not on there currently, and that's a problem.

@choptastic choptastic closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.