public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Convention for creating dynamic HII forms
@ 2017-05-10 20:38 dgurjar
  2017-05-11  6:53 ` Dong, Eric
  0 siblings, 1 reply; 3+ messages in thread
From: dgurjar @ 2017-05-10 20:38 UTC (permalink / raw)
  To: edk2-devel

Hi,

I was wondering if anyone here could provide some clarification on how 
to create dynamic HII forms.

Currently I have a Form A with multiple goto statements to Form B.
When the user clicks a goto, my ConfigCallback function will use the 
QuestionId to get the data to populate Form B with from a UEFI variable. 
Form B's values appear to be updated when I use HiiSetBrowserData.

However, when I do this I notice that after the user modifies Form B, 
the "Configuration Changed" string does not always appear. As a result 
when I try to save the form, there are no calls made to my RouteConfig 
function.
When I enter Form B the internal question values for that form are not 
updated with the values. Because of this the form doesn't recognize when 
its questions are modified.

I was wondering if anyone has had experience creating form where the 
internal question values need to be modified on entry, and what the 
common convention was for doing this.

Thanks,
Dev


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-18 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-10 20:38 Convention for creating dynamic HII forms dgurjar
2017-05-11  6:53 ` Dong, Eric
2017-05-18 15:35   ` dgurjar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox