cancel
Showing results for 
Search instead for 
Did you mean: 

Text input is showing null in Online Interactive form

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srinivas,

Can you check the cardinality of the DataSourceDownload Node

Regards,

Mathan