/    Sign up×
Community /Pin to ProfileBookmark

Help with forms

Hello, I do hope I can find some help here,
I am trying to create a form for a role playing charecter creation sheet.
For example the player starts off with a set amount of points and can spend them on ability’s spells weapons etc. I hope to do this with a form

I just need to be pointed in the right direction as to be honest I dont even know where to start

Many thanks in advance Mark

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@flannSep 09.2007 — do you have a database backend to store all this info? I would start by what are they able to purchase? Maybe list all available products and then a text box with there current amount.
Copy linkTweet thisAlerts:
@MayoauthorSep 09.2007 — Well i have php and mysql if needed.

I have an very rough example of what I am trying to do here its just in a simple html form set-up nothing fancy http://www.dragonlorelarp.co.uk/test/

The player would start with a set amount of charecter points and each skill or magic spell would cost a set amount of char points

I was hoping to be able to show them how many points they had left to spend and when they used up the points they could not add any more skills etc.

I don't mind learning how to do it but tbh I need a nudge in the correct direction ?
Copy linkTweet thisAlerts:
@Declan1991Sep 09.2007 — Do you need to store the data for the future, or when the user is finished, is that it? To alter the page without going to the server, you'll need to use Javascript.
Copy linkTweet thisAlerts:
@MayoauthorSep 10.2007 — I would love to keep the data for further use. I am planning on developing a user system in the future. I would just love to be shown an example of this so I could take it from there.

Mark
Copy linkTweet thisAlerts:
@flannSep 10.2007 — Well to store the data you're going to need to set up a database. I would get rid of the checkboxes where you have a point system too. If the user has zero points selected here, than they have not selected it, making the checkbox useless.
×

Success!

Help @Mayo spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...