From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.codeaurora.org (smtp.codeaurora.org [198.145.29.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DCE2E21A13484 for ; Wed, 10 May 2017 13:38:36 -0700 (PDT) Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7DCC660856; Wed, 10 May 2017 20:38:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1494448716; bh=kKbhaPoxb9C5t3+7oV2qY6zbXv/yWEVjPtdc8e7Aqj4=; h=Date:From:To:Subject:From; b=gdbWgI2Q4LnkrxiRuxQ0zzRB3ZgPjrp+6nJe3ZtMxrRrcFIENEyA1/EMhVSe/oQXz HshZBLsEAurC0SrnATvR8iP3fPC/2YD20MNOVAiGVFykfYhZHTXAc8CAJEcfiwhXuQ aU08Dy606KSkgx+cGE6N2P76mLZJK4KhzeK7Hjys= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 47F386079B for ; Wed, 10 May 2017 20:38:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1494448716; bh=kKbhaPoxb9C5t3+7oV2qY6zbXv/yWEVjPtdc8e7Aqj4=; h=Date:From:To:Subject:From; b=gdbWgI2Q4LnkrxiRuxQ0zzRB3ZgPjrp+6nJe3ZtMxrRrcFIENEyA1/EMhVSe/oQXz HshZBLsEAurC0SrnATvR8iP3fPC/2YD20MNOVAiGVFykfYhZHTXAc8CAJEcfiwhXuQ aU08Dy606KSkgx+cGE6N2P76mLZJK4KhzeK7Hjys= MIME-Version: 1.0 Date: Wed, 10 May 2017 14:38:36 -0600 From: dgurjar@codeaurora.org To: edk2-devel@lists.01.org Message-ID: <847821b780b0848d92d7bfcd03ea3bcf@codeaurora.org> X-Sender: dgurjar@codeaurora.org User-Agent: Roundcube Webmail/1.2.1 Subject: Convention for creating dynamic HII forms X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2017 20:38:37 -0000 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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