How to get a value from custom html to textbox?

Confluence User - 21 Dec, 2017

i want to display the value of textbox from html, so the value I've been looking for in my html can be displayed in the textbox in order to be saved. Does anyone ever do that? Please share with me

textbox;customhtml;javascript;forms

2


26 Dec, 2017
confluenceUser
confluenceUser

Hi

Do you mean that you have created a textbox field in a customHTML element in your form? If yes, just tick this field "Auto populate saved value?" and the textbox field value will be saved into your database table. To access that value, you can then use hash variables, example "#form.tablename.fieldName#".

 

27 Dec, 2017
confluenceUser
confluenceUser

But if i have another form with another table, and i want to call that table with selected box. I mean when selected box is select and then some textbox will display the value from first table before. what the hash variables used? For Example : i have form "employee" with table "employee_db" the field is "username,sn,location,department". Now i create a form named "claim" with table "claim_db" and i create selected box which the value is username. if the username is selected then some textbox displayed sn,location,department. how can do that?

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print