NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: bergsj on December 14, 2010, 04:41:22 AM

Title: Popup form
Post by: bergsj on December 14, 2010, 04:41:22 AM
Guys,

When I have a browse containing a view of Address records and have set the form type to be popping up, then this works great for the insert button.
When I put an edit button on a row I cannot use the 'default' one since the view has primary ID field VNAW.ID and the form expects NAW.ID. I need to create a custom button calling the form with formAddress?NAW__ID=VNAW.ID. On the custom button template I cannot find anything to enable popup forms.

How can I deal with this issue?
Title: Re: Popup form
Post by: Bruce on December 14, 2010, 05:19:32 AM
At this stage I don't have template support for popup forms off custom buttons.
You can certainly look at the code in the generated button, and duplicate it.

Perhaps in the form it would be better to set the necessary Naw:Id to match the incoming Vnaw:Id.

cheers
Bruce
Title: Re: Popup form
Post by: bergsj on December 14, 2010, 05:27:23 AM
"Perhaps in the form it would be better to set the necessary Naw:Id to match the incoming Vnaw:Id."

What's the best approach on doing this?