Good afternoon guys and girls!
I am using the following code to set the values for 3 items and to submit a page. The only concern I have left is that I need to check whether the item value has been set or not before branching to the new page. Can you give me an example please of how this could be achieved in Javascript? I appreciate your help!
<script type="text/javascript">
function setArt()
{var get = new htmldb_Get(null,$x('pFlowId').value,null,0); // initialize get
get.add('P1100_XVAL',$x('P1100_ART_NAME').value)
gReturn = get.get();
$s('P1100_XVAL',$x('P1100_ART_NAME').value)
get = null;
;
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',&APP_PAGE_ID.);
get.add('P1130_CNT_GEBIET',$x('P1100_CNT_GEBIET').value)
gReturn = get.get();
$s('P1130_CNT_GEBIET',$x('P1100_CNT_GEBIET').value)
get = null;
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',&APP_PAGE_ID.);
get.add('P1130_ART',$x('P1100_ART_NAME').value)
gReturn = get.get();
$s('P1130_ART',$x('P1100_ART_NAME').value)
get = null;
redirect('f?p=9601:1130:&APP_SESSION.::NO::');
}
</script>
Thanks a lot and have a successful afternoon!
Greetings,
Sebastian
Edited by: skahlert on 09.10.2009 13:07