NetTalk Central

Poll

How can I show field from another file in a webform

?
0 (0%)
?
0 (0%)

Total Members Voted: 0

Author Topic: Display field from another file  (Read 1559 times)

pbouma

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Email
Display field from another file
« 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
« Last Edit: May 20, 2014, 12:07:25 AM by pbouma »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: Display field from another file
« Reply #1 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