• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

Simple Java Script Message

I am using Adobe Live Cycle to create pdf forms. it uses java script as the basis.

Basically to start i need to know how you write a script that uses the logic if the form is NOT saved then display message you need to save the form first.

This goes on to a more complex script i need to create but i will break into small questions so you can get points.
  • 2
2 Solutions
George K.Commented:
You could use something like

function checkifsaved(myfile)
 var acceptandsubmit = false;

  if (acceptandsubmit  == false)
        //show a message
        alert("Form not saved") ;
        return false;
        return true
    return acceptandsubmit;
Michel PlungjanIT ExpertCommented:
This is PDF js not browser based js
valmaticAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now