...
ConfiForms Form Definition | ||
---|---|---|
| ||
Here goes the content of the page |
HTML |
---|
<script> function setValues2ConfiForm(link) { var params = ['mytext', 'another']; var vals = new Array(); var idx = 0; AJS.$(link).closest('td').siblings().each(function() { vals[idx++] = AJS.$(this).text(); }); var formParams = ''; for (i=0;i<params.length;i++) { formParams = formParams + params[i] + ':' + vals[i] + ';' } document.location ='https://wiki.vertuna.com/display/TEST/How+to+create+a+link+to+a+page+to+preset+the+value+for+ConfiForms+fields?cf_name=myform&cf_values=' + formParams; } </script> |
...