Saturday, February 11, 2012
  Search
Support Forum
Add text to fieldvalue before save/sessionvalue
Last Post 02 Mar 2010 12:18 AM by Code 5. 1 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
jurgen van tilburg
New Member
New Member
Send Private Message
Posts:4


--
01 Mar 2010 11:28 AM  
Hello,

I'm not sure how to handle this:
i want to query a subdomain from a user using Formmaster (2.00.40)
before i save the value to a table and create a sessionvariable i want to add a top leveldomain to the subdomain.

so for example:
if a user fills in "michaelJackson" in my field "subdomain" i want to save the complete domain to the database, for example "michaelJackson.isweird.com".
WHat is the best way to do this?:
create a hidden field value=".isweird.com"
add the value from my field with the hiddenfield to a "totaldomainnamefield"

seems to me the simplest way.
i don'have a clue though, how to add text to a value of a field using formmaster.

If anyone knows.... i really like to hear from you.

Thanks

Code 5
Moderator
Advanced Member
Advanced Member
Send Private Message
Posts:907


--
02 Mar 2010 12:18 AM  
Jurgen,

There is no way to do this with in Form Master. If I was tasked to accomplish this, I would either use a Trigger on the SQL table or use a calculated field in the SQL table.
You are not authorized to post a reply.

Active Forums 4.2
Copyright 2004-2012 Code 5 Systems, LLC.