I have a form containing two pulldowns (Carrier and Trailer). Along with them, I have two links allowing me to add new Carriers and respective Trailers.
Each field works fine, except for the fact that when they close and redisplay the main form, any data previously entered is cleared. So the first 4 fields where I have entered data are cleared.
The Javas script I am using that I got from a Caspio doc is:
<script>
window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}
</script>
I am not a Java person at all so I am wondering if this script can be modified and a way where the newly entered data is stored in the respective table, the window closed and the newly entered data shows up in the recently updated drop down.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
dmyoungsal
I have a form containing two pulldowns (Carrier and Trailer). Along with them, I have two links allowing me to add new Carriers and respective Trailers.
Each field works fine, except for the fact that when they close and redisplay the main form, any data previously entered is cleared. So the first 4 fields where I have entered data are cleared.
The Javas script I am using that I got from a Caspio doc is:
<script>
window.close();
if (window.opener && !window.opener.closed) {
window.opener.location.reload();
}
</script>
I am not a Java person at all so I am wondering if this script can be modified and a way where the newly entered data is stored in the respective table, the window closed and the newly entered data shows up in the recently updated drop down.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.