function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AhmedPotAhmedPot 

Is there an alternative to use apex:input file along with other rerender attributes in same page

Hi,

I'm getting apex:inputFile can not be used in conjunction with an action component, apex:commandButton or apex:commandLink that specifies a rerender or oncomplete attribute.error as I have many other rerender attributes for other components.

 

It seems that we can't use apex:input  file and rerender methods together. But is there any work around for this.

I also got to know that we can use hidden iframe to achieve it but not sure how it can be done

 

Thanks,

Ahmed

Bhawani SharmaBhawani Sharma

You can use javascript to display hide and display that particular section.