Hi,
I and doing one form page which is having several items plus two "File Browser" type items. I don't like the default look of file browser item(and the default validation) so I am playing with some Jquery to get them looks the way I like, in the meantime, I will need to make sure that customer did choose files for those two file browser filed before they can submit. Here is what I am doing:
1 Created an DA (triggered by when "CREATE" button pressed, which will do:
a. valid the two file browser item to make sure they are not empty, if it is empty, pop up an window reminding them.
b. if it pass the validation, call apex.submit('CREATE');
c. apex_redirect to another page;
2. I have a default after submit DML process too
3. I have an CREATE button with Action defined as "Defined by Dynamic Action"
This works the way I wanted but the problem is that it just didn't insert the data into database, I thought the apex.submit('CREATE') will call the CREATE request and execute the DML process so the data will be insert into database but obviously it's not the way I thought.
Any idea what I was doing wrong and how I can insert the data into Database?
Thanks
Mike