Hi guys,
I created a BSP business card application where the user can enter his data (name, address, phone...)within a form (<phtmlb:formLayoutInputField ..>).
I added a preview button and after pressing the button a JPG of the business card appears and the values from the form
are displayed on this JPG picture. This is realised with a javascript function.
I have the problem that javascript works on the client side. This means when the user clicks on the preview button the abap variables from my form are not filled with the user input.
At the moment I added another button 'Adopt text'. In this case a ok-code is raised on the abap side and the variables are filled (the entered text from the form is adopted). If the user now clicks the preview button everything works fine and the text is displayed on the JPG, but this approach is very uncomfortable. Has anybody an idea how I could implement such a preview functionality without clicking the 'adopt text' button?
Best regards
Dennis