I want to populate a form, besides the input that the user inserts.
This is the code from view:
<script>
var MattsPublicKeyString = cryptico.publicKeyString(MattsRSAkey);
print("Matt's public key string:");
print(MattsPublicKeyString);
</script>
<script type=t"text/javascript">
document.onload = function(){updateText()};
function updateText() {
document.certificate_request_public_key__row.populateme.value =
MattsPublicKeyString;
}
<h1>{{=T('New Certificate Signing Request')}}</h1>
{{=text}}
<br/>
{{=form}}
The key that I want to insert in the form is correctly displayed but it
isint' inserted in the database. What am I doing wrong?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.