<PSClickWrap
accessId={siteAccessId}
testMode={true}
groupKey={clickwrapGroupKey}
signerId={attachedSignerId}
forceScroll={true}
disableSending={true}
customData={{
full_name: fullName,
email: email,
}}
onValid={() => {
console.log("onValid");
}}
allowDisagreed={true}
onInvalid={() => {
console.log("onInvalid");
}}
/>
If I fill out the signer ID input field AFTER accepting the contract, onValid is not called. So I'm not able to set my state which holds info as to whether the contract is signed, correctly.
The user has to then uncheck and check the checkbox again for the onValid callback to be invoked.
If I fill out the signer ID input field AFTER accepting the contract,
onValidis not called. So I'm not able to set my state which holds info as to whether the contract is signed, correctly.The user has to then uncheck and check the checkbox again for the
onValidcallback to be invoked.