Oxygen: Forms v1.1

View previous topic View next topic Go down

Oxygen: Forms v1.1

Post by Locust on Mon Jun 13, 2016 2:04 am

Script by Locust: Free for use as for 6/13/16
Forms v1.1
This script is able to set up forms on Oxygen and link them to a database such as Navicat. Available for more than a one-on-one form to a database, just takes a few more switches than this.


-Creating the form.
formfile.oxy
Code:

CMD.run
#open
config.oxy
oxygen.oxg
regularPROGRAM.program="false"
IF.flase
          include oxygen.oxg.START;
//*Configure THESE properties below; don't mess with above.*//
RUN.all properties.oxy configfiles.oxy
IN.properties.oxy
set.data.STRINGvars else;
IF.STRINGvars. RUN="false";
return.end.null
          include error.oxy.START;
ELSE.begin.datapull
STRINGvars.dataclasses
$class.var1="Username" //*Change this to whatever you want*//
$class.var2="Password"//*Change this to whatever you want*//
$class.var3="Email"//*Change this to whatever you want, wouldn't suggest it*//
//*Add more if you want, just keep increasing the number*//
LOOP.function="true";
IfSO.loop.loopprogram(formfile.oxy);
If.loopprogram.loop.function
IfNOT.loop
.close.LOOP.function
.close.LOOP.CMD
;null
STARTandECHO.withend "You messed up.";
SAVEandPOST.dataclasses
          to database.oxy
              include  database.oxg  data.oxy  runtimes.oxy
program.RUN.if
datacalssses.SAVEandPOST
IfNOT.SAVEandPOSt
close.CMD
;null

$class.var1.PROPERTIES
prop.ONE'digits'
prop.TWO'numbers'
prop.THREE'space'
prop.FOUR'nochars'

$class.var2.PROPERTIES
prop.ONE'digits'
prop.TWO'numbers'
prop.THREE'space'
prop.FOUR'nochars'

$class.var3.PROPERTIES
prop.ONE'digits'
prop.TWO'numbers'
prop.THREE'space'
prop.FOUR'nochars'.EXCEPTION="@"

class.var.dataclasses.SAVE.properites="true"
ifSAVE.properties="true"
          SEND.database.oxy
                      include  database.oxg
ifSAVE.properties="false"
CMD.end
ERASE.classvars.dataclasses
null;
end.ALL
null;

avatar
Locust
Registered User
Registered User

Posts Posts : 4
Points Points : 1879
Join date Join date : 2012-12-13

View user profile

Back to top Go down

Re: Oxygen: Forms v1.1

Post by Bedbed on Mon Jun 13, 2016 2:13 am

Killing the game, locust. Nice work.

_________________
1st user ever to earn 2 stars.
1st user ever to win MoM.
1st Supernova+ User
avatar
Bedbed
Presteige I
Presteige I

Posts Posts : 316
Points Points : 238404
Join date Join date : 2013-01-04

"Truth be told, I'm a honest liar."

View user profile

Back to top Go down

Re: Oxygen: Forms v1.1

Post by Responsibility on Sat Aug 06, 2016 5:27 pm

Great post, Locust. Liked and +1.
avatar
Responsibility
Registered User
Registered User

Posts Posts : 1
Points Points : 620
Join date Join date : 2014-06-04

"The simple complexity of life is the evanescent perfection we desperately seek."

View user profile

Back to top Go down

Re: Oxygen: Forms v1.1

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum