Hello, experts.
I have a requirement to have the values for posting date prefilled with today's date and the date of seventh day before today.
That sound a lot like Javascript. I have enhanced a component CRM_BT_TRANSINB and its SearchViev, and inserted the following code in the SearchViev.htm:
<script type=“text/javascript“>
$(document).ready(function(){
$("C18_W54_V55_V56_search_PARAMETERS[6].VALUE2").val("14.03.2016");
$("C18_W54_V55_V56_search_PARAMETERS[6].VALUE1").val("07.03.2016");
});
</script>
The IDs and the dates are hard-coded just to test this functionality.
This, however, did not have any effect. Is something else necessary to use Javascript in a BSP component? Any help would be appreciated.
Thanks,
Borys