Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Connection failed because environment is not trusted

Avatar

03-10-2008

Alright I created a form, created a connection to my SQL database, and dropped all of the database fields onto the form. At the bottom of my form I added a submit button with the following code:



topmostSubform.Page2.Submit::click - (JavaScript, client)

xfa.sourceSet.RunSQLDataConnection.addNew()



When I try to preview the form in either LiveCycle or on my website I get the following error:



Connection failed because environment is not trusted



Can any help?