Hi Alexandre,
New release downloaded and installed, but my modal still not working properly
Here is a screencast of my problem, hope you can access it :
https://www.screencast.com/t/DJg2IZJuCX
I just noticed that, after the first try, the URL is updated from
localhost:8888 to
http://localhost:8888/?IWEDITDATE_IWFRAMEMODAL_CARD2=2023-08-08&IWBUTTONVALIDATE_IWFRAMEMODAL_CARD2=Validate.
And, in web dev tool, on initial load, the POST form doesn't include my modal fields.
Code:
<form action="/" method="POST" name="SubmitForm">
<input name="IWBUTTONCARD_CARD1" type="hidden">
<input name="IWBUTTONCARD_CARD2" type="hidden">
<input name="IWBUTTONCARD_CARD3" type="hidden">
<input name="IW_FormName" type="hidden" value="IWFormHome">
<input name="IW_FormClass" type="hidden" value="TIWFormHome">
<input type="hidden" name="IW_width" value="">
<input type="hidden" name="IW_height" value="">
<input type="hidden" name="IW_Action" value="">
<input type="hidden" name="IW_ActionParam" value="">
<input type="hidden" name="IW_Offset" value="">
<input type="hidden" name="IW_SessionID_" value="tGAet75DtyqOHB5pLq-eK96L8fa">
<input type="hidden" name="IW_TrackID_" value="1">
<input type="hidden" name="IW_WindowID_" value="wid=7hnzp6-9Ihje8~HpVTG8f249ilS">
<input type="hidden" name="IW_Location_" value="http://localhost:8888/">
</form>
When I open the modal, its fields are added at the end of the POST form.
Code:
<form action="/" method="POST" name="SubmitForm">
<input name="IWBUTTONCARD_CARD1" type="hidden" tabindex="-1">
<input name="IWBUTTONCARD_CARD2" type="hidden" tabindex="-1">
<input name="IWBUTTONCARD_CARD3" type="hidden" tabindex="-1">
<input name="IW_FormName" type="hidden" value="IWFormHome" tabindex="-1">
<input name="IW_FormClass" type="hidden" value="TIWFormHome" tabindex="-1">
<input type="hidden" name="IW_width" value="" tabindex="-1">
<input type="hidden" name="IW_height" value="" tabindex="-1">
<input type="hidden" name="IW_Action" value="" tabindex="-1">
<input type="hidden" name="IW_ActionParam" value="" tabindex="-1">
<input type="hidden" name="IW_Offset" value="" tabindex="-1">
<input type="hidden" name="IW_SessionID_" value="tGAet75DtyqOHB5pLq-eK96L8fa" tabindex="-1">
<input type="hidden" name="IW_TrackID_" value="2" tabindex="-1">
<input type="hidden" name="IW_WindowID_" value="wid=7hnzp6-9Ihje8~HpVTG8f249ilS" tabindex="-1">
<input type="hidden" name="IW_Location_" value="http://localhost:8888/" tabindex="-1">
<input name="IWEDITDATE_IWFRAMEMODAL_CARD2" type="hidden" tabindex="-1">
<input name="IWBUTTONVALIDATE_IWFRAMEMODAL_CARD2" type="hidden" tabindex="-1">
<input name="IWBUTTONCLOSE_IWFRAMEMODAL_CARD2" type="hidden" tabindex="-1">
</form>
And after the 1st validation, the POST form is refreshed and my modal fields are at the beginning of the form.
Code:
<form action="/" method="POST" name="SubmitForm">
<input name="IWBUTTONCARD_CARD1" type="hidden">
<input name="IWEDITDATE_IWFRAMEMODAL_CARD2" type="hidden">
<input name="IWBUTTONVALIDATE_IWFRAMEMODAL_CARD2" type="hidden">
<input name="IWBUTTONCLOSE_IWFRAMEMODAL_CARD2" type="hidden">
<input name="IWBUTTONCARD_CARD2" type="hidden">
<input name="IWBUTTONCARD_CARD3" type="hidden">
<input name="IW_FormName" type="hidden" value="IWFormHome">
<input name="IW_FormClass" type="hidden" value="TIWFormHome">
<input type="hidden" name="IW_width" value="">
<input type="hidden" name="IW_height" value="">
<input type="hidden" name="IW_Action" value="">
<input type="hidden" name="IW_ActionParam" value="">
<input type="hidden" name="IW_Offset" value="">
<input type="hidden" name="IW_SessionID_" value="f8bqraYO4OWixO5mSQtdf~3mfoa">
<input type="hidden" name="IW_TrackID_" value="3">
<input type="hidden" name="IW_WindowID_" value="wid=1TTMn6qkaYOMPbLoPIuchx6~DGi">
<input type="hidden" name="IW_Location_" value="http://localhost:8888/?IWEDITDATE_IWFRAMEMODAL_CARD2=2023-08-15&IWBUTTONVALIDATE_IWFRAMEMODAL_CARD2=Validate">
</form>
The position of the inputs in the form (before and after the hidden inputs) can have any impact in an intraweb application.
I cleaned my cache, just to be sure, and rebuild the app several times, but not working.
I also tried again the workaround, no result for me.