Hi All,
I have a user registration form, wherein the user fill all the user details
and can also upload a file.
I have made the form enctype="multipart/form-data", method="post" and
action="<@ofbizUrl>createUser</@ofbizUrl>"
Below is my "createUser" request-map :
<request-map uri="createUser>
<event type="simple" path="com/test/UserEvents.xml"
invoke="validateUserForm"/>
<response name="success" type="request" value="createUserService"/>
</request-map>
I am validation the user registration form using simple-method,
simple-map-processor.
Now the issue is when I submit the form the form data is not submitted and
that's why the validation fails,
and if I remove enctype="multipart/form-data" the form data is submitted but
I need to use enctype for file upload.
What do I need to do to make the form work with the simple-method validation
and enctype ?
Thanks,
Abdullah