Quantcast
Channel: SCN : Discussion List - SAP Interactive Forms by Adobe
Viewing all articles
Browse latest Browse all 1237

PopUp in Javascript doesn't work properly

$
0
0

     Hi Guru's,

 

I am facing into an issue.

I created an Adobe interactive forms with a popup for the appraiser feedback.

When I click on the button to open the pop up and write my feedback and then I close it.

Sometimes it happens that my message has not been saved and the forms doesn't go to the next phase.

I should click in second times on the button.

 

Please find below the code :

function PopupComment()
{
  var info  = xfa.form.DATA.Page1.Texts.comment;
     var title = xfa.form.DATA.Page1.Texts.title_pop;
  var oDlg = { strName: "", initialize: function(dialog) {dialog.load({"usnm":this.strName}); },commit: function(dialog) {
      var data = dialog.store();
  this.strName = data[ "usnm"];},
  description: {
     name: title.rawValue , elements: [ {
        type: "view", elements: [
     { name: info.rawValue , type: "static_text",},
  { item_id: "usnm", type: "edit_text", char_width: 42, char_height: 20, multiline: 3 },
  { type: "ok_cancel", },
  ]
       },]
      }

     };

Capture.JPG

Do you have an idea or suggestions please?

Thank you in advance for your help.


Viewing all articles
Browse latest Browse all 1237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>