Latest topics
» iChat 2.0 - A New Way to Chat!
Oxygen: Forms v1.1 EmptySat Jun 23, 2018 11:38 pm by OnyxTech

» iNBA Super Rankings (12/15/2013)
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:48 pm by iNBA

» Tigers vs. Greats, Jeremiah Clark pours in 25 as Tigers take victory, 88-80
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:27 pm by iNBA

» 2013-2014 Free Agent Watch
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:11 pm by Stanley

» SAMUEL HOLLOWAY JUST SCORED 97 POINTS IN ONE QUARTER!!!
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:10 pm by Stanley

» Drew Que of Hialeah Horizon cashes in 55 for the win over Celtics, 126-113
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:08 pm by Stanley

» Samuel Holloway makes history with magical 106 point performance against Austin Galaxies, 183-81
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:08 pm by Stanley

» Danny Dubb delivers 81 in win over Atlanta Hawks, 175-88
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:06 pm by Stanley

» iNBA Super Rankings (11/17/2013)
Oxygen: Forms v1.1 EmptySun Jun 17, 2018 11:05 pm by Stanley

Most active topic starters
Kernel
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
OnyxTech
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
iNBA
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
Alex
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
Bedbed
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
Cyber
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
Combz
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
Teh Can
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
Raymond
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 
Stanley
Oxygen: Forms v1.1 I_vote15Oxygen: Forms v1.1 I_voti11Oxygen: Forms v1.1 I_vote16 

Top posting users this month
No user

Member of the Month
Winner MoM Want to be Member of the Month? Simply enter your name below and receive, 5000+ points, NameGlow (Any color), and A title picture!
Username:
New Network & Projects

Oxygen: Forms v1.1

View previous topic View next topic Go down

Oxygen: Forms v1.1 Empty Oxygen: Forms v1.1

Post by Locust 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;

Locust
Locust
Registered User
Registered User

Posts Posts : 8
Points Points : 4359
Join date Join date : 2012-12-13

Back to top Go down

Oxygen: Forms v1.1 Empty Re: Oxygen: Forms v1.1

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

Killing the game, locust. Nice work.
Bedbed
Bedbed
Presteige II
Presteige II

Posts Posts : 395
Points Points : 287384
Join date Join date : 2013-01-04

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


Back to top Go down

Oxygen: Forms v1.1 Empty Re: Oxygen: Forms v1.1

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

Great post, Locust. Liked and +1.
Responsibility
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."

Back to top Go down

Oxygen: Forms v1.1 Empty 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