NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: pbouma on May 20, 2014, 12:00:51 AM

Title: Display field from another file
Post by: pbouma on May 20, 2014, 12:00:51 AM
I have a webform where the user can fill in workinghours. The user fills in the date and then selects a Contracts browse. This contract shows the hours he/she has to work according to this contract, say 40 hours. After selecting this contract I want this value (40 hours) to display on the webform. So I added this field (CON:ContractHours) on the webform. Then the users fills the field the amount of hours he/she worked. Problem: this (CON:ContractHours) field does not display the value. https://dl.dropboxusercontent.com/u/28861924/UpdateWindow.doc
Title: Re: Display field from another file
Post by: Bruce on May 20, 2014, 12:18:46 AM
2 things you need to do;

>> So I added this field (CON:ContractHours) on the webform.

Usually you don't add the remote form field (as a field), because it's not really a form field. However I suppose it's ok, (although the next step then looks a bit wierd.)

1) In the "More Assignments" setting for the Lookup field set
CON:ContractHours = CON:ContractHours

2) In the Client Side tab for the lookup field, on the Reset Fields list, add
the CON:ContractHours field.

cheers
Bruce