<table><tr><td style="">ahmadosama retitled this revision from "Bug 288042 - Option to reset forms (Implemented using FormFields)" to "[Okular] Option to reset forms".<br />ahmadosama edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-y3pgn73fg53inla/">(Show Details)</a><br />ahmadosama edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-2mn5eiqfxbimlfa/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10932">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Similar to how the autotest (editformtext.cpp) tests the form contents, I implemented the reset form option in a similar way by creating a function to reset each widget separately .<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">I am not quite sure that resetting radio buttons will work well, when radio buttons are in different button groups.  <br />
This implementation is inspired by previous comments about this bug.</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
<br />
<br />
<br />
BUG: 288042</span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">I <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">am currently working on implementing an auto test using formSample.pdf, I think the autotest will not be much different from editformtext.cpp </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">have created an auto test for this option in this patch</span>.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10932">https://phabricator.kde.org/D10932</a></div></div><br /><div><strong>To: </strong>ahmadosama, Okular<br /><strong>Cc: </strong>ngraham, aacid, Okular, michaelweghorn<br /></div>