What I have done so far:
Created 31 link properties (using Add Column) with following name:
rand1
rand2
rand3
.....
rand31
------------------------
Problem:
When any listing is added,along with all other info submitted by end-users, I also want to add multiple (rand1 to rand31) hidden fields with randomized value.
So for add listing form, along with regular form fields, there will be 31 hidden fields as:
<input type="hidden" name="rand1" value="7">
<input type="hidden" name="rand2" value="25">
<input type="hidden" name="rand3" value="16">
.....
<input type="hidden" name="rand31" value="2">
-------------------------------------
Can this be done using a global or some other way so that every time the add-listing form is added, the order for 'values' in hidden form is randomized.
i.e. for listing 1 that is added, rand1 = 1, & so on till rand31.
while next for next listing that would be added, rand1 = 'would be some other number'.. (between 1 & 31).
Note: in above example 'value' are added for example. Ideally they could be any value between 1 & 31, and they will also be unique, so no to rand$ fields will be duplicate/equal of each other.
Thank you.
Vishal
-------------------------------------------------------
Created 31 link properties (using Add Column) with following name:
rand1
rand2
rand3
.....
rand31
------------------------
Problem:
When any listing is added,along with all other info submitted by end-users, I also want to add multiple (rand1 to rand31) hidden fields with randomized value.
So for add listing form, along with regular form fields, there will be 31 hidden fields as:
<input type="hidden" name="rand1" value="7">
<input type="hidden" name="rand2" value="25">
<input type="hidden" name="rand3" value="16">
.....
<input type="hidden" name="rand31" value="2">
-------------------------------------
Can this be done using a global or some other way so that every time the add-listing form is added, the order for 'values' in hidden form is randomized.
i.e. for listing 1 that is added, rand1 = 1, & so on till rand31.
while next for next listing that would be added, rand1 = 'would be some other number'.. (between 1 & 31).
Note: in above example 'value' are added for example. Ideally they could be any value between 1 & 31, and they will also be unique, so no to rand$ fields will be duplicate/equal of each other.
Thank you.
Vishal
-------------------------------------------------------