[Solved] Form to redirect to a particular URL


Solved with

<script type="text/javascript">
function goTo()
{
    var NUM= document.forms[0].NUM.value;
    var URL = 'http://staticurl/'
    window.location = URL+NUM+'.jpg';
    return false;
}
</script>

And

<form action="" method="get" onsubmit="return goTo()">

solved Form to redirect to a particular URL