Access Component Action From Script


Recommended Posts

Is it possible to access component action from script?

 

I have many edit box components and choose the "set on submit button press".

I want to save the edit box content into a .csv file. Instead of creating 2 buttons: one is a submit button to set the contents to channels and another one is the save button to save the contents to a file, what I'm trying to do is using one button to submit and save.

 

 

Link to comment
Share on other sites

No.  Usually you would simply have the component action call a sequence instead.  But in your case, there are two options:

 

1) you can have more than one Action for a component.  So, the first can be a Submit action, and the second a Quick Sequence.

2) there is a function to do submit from script:  page.submit()

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.