Skip to Content
0
Former Member
Apr 29, 2009 at 02:58 PM

Text input is showing null in Online Interactive form

29 Views

Hello,

I am getting null values when I input text in the online interactive form.

I am using the following code:

byte[] filebytearray = wdContext.currentContextElement().getPdfSource();
	WDInteractiveFormHelper.transferPDFDataIntoContext(filebytearray, wdContext.nodeDataSourceDownload());
	
	wdComponentAPI.getMessageManager().reportSuccess("SO# and Email: "+
		wdContext.currentDataSourceDownloadElement().getEmail()+": "+
		wdContext.currentDataSourceDownloadElement().getSalesOrder());

DataSourceDownload is the context node with 2 attributes SalesOrder and Email.

Now both are nulls when I run the application.

This works fine when I use an offline PDF form (that has input values saved).

Thanks

Srinivas