2014 Jun 04 6:18 PM
When using Smartforms is there a way to sort the INPUT and OUTPUT Parameters in the INITIALIZATION Tab? I'm trying to clean up the code and I have blank fields in these Parameters and would like to have all my fields listed without having blanks inbetween my fields.
Example
Input Parameters Output Parameters
Field 1 _________
____________ Field2
Field 3 __________
Like to have fields listed with no blank lines, is only way just to re-enter?
2014 Jun 05 5:40 AM
I found a way.
Smarform can be downloaded to xml, empty parameters can be deleted and then modified xml can be uploaded.
Search
<item><OUTIN>I</OUTIN></item>
and replace with nothing.
Search
<item><OUTIN>O</OUTIN></item>
and replace with nothing.
The downloaded xml had this:
<GPLIST>
<item><OPD>A</OPD><OUTIN>I</OUTIN></item>
<item><OUTIN>I</OUTIN></item>
<item><OPD>C</OPD><OUTIN>I</OUTIN></item>
<item><OPD>B</OPD><OUTIN>I</OUTIN></item>
<item><OUTIN>O</OUTIN></item>
<item><OPD>E</OPD><OUTIN>O</OUTIN></item>
<item><OPD>F</OPD><OUTIN>O</OUTIN></item>
<item><OPD>D</OPD><OUTIN>O</OUTIN></item>
</GPLIST>
Item tags are for parameters. For empty parameters, OPD tag is missing.
Using a little bit of code, sorting of adjacent parameters can also be implemented.
2014 Jun 04 6:22 PM
Hi,
I think is only way is to re-enter.
Cut and paste the fields in blank lines.
Regards
Sachin
2014 Jun 04 7:27 PM
Good question! This drives me nuts too but haven't seen any other solution than re-entering. Would be curious to find though if there is something else.
2014 Jun 05 5:40 AM
I found a way.
Smarform can be downloaded to xml, empty parameters can be deleted and then modified xml can be uploaded.
Search
<item><OUTIN>I</OUTIN></item>
and replace with nothing.
Search
<item><OUTIN>O</OUTIN></item>
and replace with nothing.
The downloaded xml had this:
<GPLIST>
<item><OPD>A</OPD><OUTIN>I</OUTIN></item>
<item><OUTIN>I</OUTIN></item>
<item><OPD>C</OPD><OUTIN>I</OUTIN></item>
<item><OPD>B</OPD><OUTIN>I</OUTIN></item>
<item><OUTIN>O</OUTIN></item>
<item><OPD>E</OPD><OUTIN>O</OUTIN></item>
<item><OPD>F</OPD><OUTIN>O</OUTIN></item>
<item><OPD>D</OPD><OUTIN>O</OUTIN></item>
</GPLIST>
Item tags are for parameters. For empty parameters, OPD tag is missing.
Using a little bit of code, sorting of adjacent parameters can also be implemented.